CMake install configuration
This is 99% for *nix based operating systems; it may work elsewhere but it's not recommended.
This commit is contained in:
1 parent
961a019a46
commit
bbf549cc69
9 files changed
+25
-5
No files matched your search
@@ -82,4 +82,8 @@ function(add_qvm MODULE_NAME)
|
||||
|
||||
string(REGEX REPLACE "[^A-Za-z0-9]" "_" TARGET_NAME ${MODULE_NAME})
|
||||
add_custom_target(${TARGET_NAME} ALL DEPENDS ${QVM_FILE})
|
||||
|
||||
if(ARG_OUTPUT_DIRECTORY)
|
||||
install(FILES ${QVM_FILE} DESTINATION ${ARG_OUTPUT_DIRECTORY})
|
||||
endif()
|
||||
endfunction()
|
||||
Reference in new issue
Block a user