Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fred Wright
CMake
Commits
6f05d6d4
Commit
6f05d6d4
authored
Nov 13, 2006
by
Bill Hoffman
Browse files
ENH: move from main tree
parent
3031e9ee
Changes
2
Show whitespace changes
Inline
Side-by-side
ChangeLog.manual
View file @
6f05d6d4
...
...
@@ -159,7 +159,9 @@ Changes in CMake 2.4.4
* Fix debug stl run of ctest on Mac
* Use #2 for manifest command on dll and #1 on exe
* Use #2 for manifest nt command on dll and #1 on exe
* Add depends from files inside qrc files in qt
Changes in CMake 2.4.3
...
...
Modules/FindQt4.cmake
View file @
6f05d6d4
...
...
@@ -776,11 +776,21 @@ IF (QT4_QMAKE_FOUND)
FOREACH
(
it
${
ARGN
}
)
GET_FILENAME_COMPONENT
(
outfilename
${
it
}
NAME_WE
)
GET_FILENAME_COMPONENT
(
infile
${
it
}
ABSOLUTE
)
GET_FILENAME_COMPONENT
(
rc_path
${
infile
}
PATH
)
SET
(
outfile
${
CMAKE_CURRENT_BINARY_DIR
}
/qrc_
${
outfilename
}
.cxx
)
# parse file for dependencies
FILE
(
READ
"
${
infile
}
"
_RC_FILE_CONTENTS
)
STRING
(
REGEX MATCHALL
"<file>[^<]*"
_RC_FILES
"
${
_RC_FILE_CONTENTS
}
"
)
SET
(
_RC_DEPENDS
)
FOREACH
(
_RC_FILE
${
_RC_FILES
}
)
STRING
(
REGEX REPLACE
"^<file>"
""
_RC_FILE
"
${
_RC_FILE
}
"
)
SET
(
_RC_DEPENDS
${
_RC_DEPENDS
}
"
${
rc_path
}
/
${
_RC_FILE
}
"
)
ENDFOREACH
(
_RC_FILE
)
ADD_CUSTOM_COMMAND
(
OUTPUT
${
outfile
}
COMMAND
${
QT_RCC_EXECUTABLE
}
ARGS -name
${
outfilename
}
-o
${
outfile
}
${
infile
}
MAIN_DEPENDENCY
${
infile
}
)
MAIN_DEPENDENCY
${
infile
}
DEPENDS
${
_RC_DEPENDS
}
)
SET
(
${
outfiles
}
${${
outfiles
}}
${
outfile
}
)
ENDFOREACH
(
it
)
...
...
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