From 46e87fb6a4c341f3fa2dc67cbffd6bda55833242 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Sat, 17 May 2025 10:04:33 +0800 Subject: [PATCH] add sources to native CMakeLists.txt --- thermion_dart/native/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thermion_dart/native/CMakeLists.txt b/thermion_dart/native/CMakeLists.txt index 9c75daae..83b7d717 100644 --- a/thermion_dart/native/CMakeLists.txt +++ b/thermion_dart/native/CMakeLists.txt @@ -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" -) \ No newline at end of file +)