1
0
Fork 0

Adding CMake again :)

This commit is contained in:
Henrik Hautakoski 2022-09-26 22:22:25 +02:00
parent cb4274bb1c
commit 2dc8050ce3
10 changed files with 384 additions and 0 deletions

7
cmake/Macros.cmake Normal file
View 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()