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