Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
b15ba53b
Commit
b15ba53b
authored
Apr 26, 2018
by
Florian Oetke
Browse files
fixed all-files CMake-Target
parent
21c5717c
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
b15ba53b
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment