Adding CMake again :)
This commit is contained in:
parent
cb4274bb1c
commit
2dc8050ce3
10 changed files with 384 additions and 0 deletions
7
cmake/Macros.cmake
Normal file
7
cmake/Macros.cmake
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
function(spectre_example NAME)
|
||||
add_executable(example_${NAME} ${ARGN})
|
||||
target_link_libraries(example_${NAME} PRIVATE Spectre)
|
||||
set_target_properties(example_${NAME} PROPERTIES VS_GLOBAL_IgnoreImportLibrary "true")
|
||||
#set_target_properties(${NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||
endfunction()
|
||||
Loading…
Add table
Add a link
Reference in a new issue