Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
565531e7
Commit
565531e7
authored
Nov 07, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use central place to collect files for qtcreator workaround
parent
08faa652
Pipeline
#3512
canceled with stage
in 1 minute and 45 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ACG/CMakeLists.txt
ACG/CMakeLists.txt
+0
-1
OpenFlipper/cmake/plugin.cmake
OpenFlipper/cmake/plugin.cmake
+0
-2
cmake/ACGCommon.cmake
cmake/ACGCommon.cmake
+3
-0
No files found.
ACG/CMakeLists.txt
View file @
565531e7
...
...
@@ -110,7 +110,6 @@ acg_append_files (sources "*.cc" ${directories})
acg_append_files
(
ui
"*.ui"
${
directories
}
)
acg_append_files
(
qrc
"*.qrc"
${
directories
}
.
)
target_sources
(
_qtcreator_add_files PUBLIC
${
sources
}
${
headers
}
)
# remove template cc files from source file list
acg_drop_templates
(
sources
)
...
...
OpenFlipper/cmake/plugin.cmake
View file @
565531e7
...
...
@@ -576,8 +576,6 @@ function (_build_openflipper_plugin plugin)
acg_append_files
(
ui
"*.ui"
${
directories
}
)
acg_append_files
(
qrc
"*.qrc"
${
directories
}
)
target_sources
(
_qtcreator_add_files PUBLIC
${
sources
}
${
headers
}
)
# remove template cc files from source file list
acg_drop_templates
(
sources
)
...
...
cmake/ACGCommon.cmake
View file @
565531e7
...
...
@@ -279,6 +279,9 @@ macro (acg_drop_templates list)
foreach
(
_file
${${
list
}}
)
if
(
_file MATCHES
"T.cc$"
)
list
(
REMOVE_ITEM
${
list
}
${
_file
}
)
# Append removed sources to a dummy target to make them available in qtcreator
target_sources
(
_qtcreator_add_files PUBLIC
${
_file
}
)
endif
()
endforeach
()
endmacro
()
...
...
Write
Preview
Markdown
is supported
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