Better file pick up with cmake
This commit is contained in:
@@ -2,8 +2,8 @@ set(ENGINE_NAME ${PROJECT_NAME})
|
||||
|
||||
add_library(${ENGINE_NAME} STATIC)
|
||||
|
||||
file(GLOB_RECURSE SOURCES src/*.cpp)
|
||||
file(GLOB_RECURSE HEADERS include/*.hpp)
|
||||
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS src/*.cpp)
|
||||
file(GLOB_RECURSE HEADERS CONFIGURE_DEPENDS include/*.hpp)
|
||||
|
||||
target_sources(${ENGINE_NAME} PRIVATE
|
||||
${SOURCES}
|
||||
|
||||
Reference in New Issue
Block a user