Ein Skript (wie Batch oder Shell Script) aus add_custom_target kann so aufgerufen werden: project (CallScriptApp)add_custom_target( call_script_target COMMENT „Call a script target“ COMMAND echo Call a a script COMMAND cmd /c ${CMAKE_CURRENT_SOURCE_DIR}/sc.bat) add_executable(CallScriptApp main.cpp)add_custom_target( docs ALL DEPENDS CallScriptApp call_script_target )
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!