Commit b15ba53b authored by Florian Oetke's avatar Florian Oetke
Browse files

fixed all-files CMake-Target

parent 21c5717c
......@@ -39,8 +39,10 @@ if(NOT hasParent)
# custom target that does nothing but references all files so they show up in QtCreator
file(GLOB_RECURSE ALL_FILES
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.*)
*.*)
list(FILTER ALL_FILES EXCLUDE REGEX "^src/.+\\.(h|c)+")
list(FILTER ALL_FILES EXCLUDE REGEX "^src/.*CMakeLists.txt")
add_custom_target(zz_all_project_files SOURCES ${ALL_FILES})
else()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment