How do I run a .bat file from CMake in a pre-link or a post-build event?
相关问题
- xcopy include folder
- Batch file if string starts by
- Jenkins - cmd is not recognized
- Avoid cmake to add the flags -search_paths_first a
- String Manipulation with case sensitivity
相关文章
- Extracting columns from text file using Perl one-l
- Target requires the language dialect “CXX17” (with
- How can one batch file get the exit code of anothe
- How to make jenkins fail at a failing windows batc
- How do I tell cmake not to create a console window
- Problems using start-process to call other powersh
- Python utilizing multiple processors
- Why do all Pre-build or Post-build events in Visua
The following also works. In case you read or create a file inside the bat script don't forget to specify the exact path inside the bat script.
myTarget will be executed after myCustomTarget.
You could use
add_custom_command
, e.g.For full details about
add_custom_command
run