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 / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
6a5bd7f0
Commit
6a5bd7f0
authored
Apr 25, 2014
by
Peter Kümmel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: write moc parameter file only when content has changed
parent
041dfea5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Modules/Qt4Macros.cmake
Modules/Qt4Macros.cmake
+3
-1
No files found.
Modules/Qt4Macros.cmake
View file @
6a5bd7f0
...
...
@@ -135,7 +135,9 @@ function (QT4_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target
set
(
targetincludes
)
set
(
targetdefines
)
else
()
file
(
WRITE
${
_moc_parameters_file
}
"
${
_moc_parameters
}
\n
"
)
set
(
CMAKE_CONFIGURABLE_FILE_CONTENT
"
${
_moc_parameters
}
"
)
configure_file
(
"
${
CMAKE_ROOT
}
/Modules/CMakeConfigurableFile.in"
"
${
_moc_parameters_file
}
"
@ONLY
)
endif
()
set
(
_moc_extra_parameters_file @
${
_moc_parameters_file
}
)
...
...
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