add sources to native CMakeLists.txt
This commit is contained in:
@@ -25,8 +25,10 @@ add_definitions(-DENABLE_TRACING=1)
|
||||
# Locate source files
|
||||
file(GLOB_RECURSE SOURCES
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/scene/*.cpp"
|
||||
)
|
||||
|
||||
|
||||
# Exclude specific files
|
||||
list(FILTER SOURCES EXCLUDE REGEX "CMakeLists.txt|main.cpp|windows")
|
||||
|
||||
@@ -123,4 +125,4 @@ target_link_libraries(thermion_dart PRIVATE
|
||||
# Install rules
|
||||
install(TARGETS thermion_dart
|
||||
LIBRARY DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/build"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user