mirror of
https://github.com/thestk/stk
synced 2026-02-07 01:36:16 +00:00
include add_subdirectory for STK projects
This commit is contained in:
9
projects/demo/CMakeLists.txt
Normal file
9
projects/demo/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
project(demo)
|
||||
|
||||
file(GLOB DEMO_SRC "./*.cpp")
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}")
|
||||
|
||||
add_executable(stk-demo "demo.cpp" "utilities.cpp")
|
||||
target_include_directories(stk-demo PRIVATE "./")
|
||||
target_link_libraries(stk-demo PUBLIC stk)
|
||||
Reference in New Issue
Block a user