summaryrefslogtreecommitdiffstats
path: root/Modules/DeployQt4.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Unhardcode the CMAKE_CONFIGURATION_TYPES valuesBeren Minor2018-01-081-1/+7
| | | | | | | | | | | | This removes duplicated code for per-config variable initialization by providing a `cmake_initialize_per_config_variable(<PREFIX> <DOCSTRING>)` function. This function initializes a `<PREFIX>` cache variable from `<PREFIX>_INIT` and unless the `CMAKE_NOT_USING_CONFIG_FLAGS` variable is defined, does the same with `<PREFIX>_<CONFIG>` from `<PREFIX>_<CONFIG>_INIT` for every `<CONFIG>` in `CMAKE_CONFIGURATION_TYPES` for multi-config generators or `CMAKE_BUILD_TYPE` for single-config generators.
* GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in ModulesCraig Scott2017-12-291-2/+4
|
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Use string(APPEND) in ModulesDaniel Pfeifer2016-07-271-2/+2
| | | | | | | Automate with: find Modules -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* Modules: Check for ARGC before using ARGV#Daniele E. Domenichelli2015-02-271-18/+72
| | | | ARGV# could be defined from a parent scope.
* Modules: Format documentation to avoid over-long preformatted linesBrad King2014-10-221-4/+8
| | | | | | Convert several preformatted code block literals that enumerate lists of options or variables to use reST definition lists instead. Manually wrap other long lines in code blocks.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-40/+71
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include()Rolf Eike Beer2012-11-041-1/+1
| | | | | | This solves a lots of warnings, e.g. in the FindModulesExecuteAll test. If the installed version on the system is rather old this may even lead to bugs, e.g. https://bugs.gentoo.org/show_bug.cgi?id=436540
* DeployQt4: Include DESTDIR for some cpack generators.Clinton Stimpson2012-08-161-2/+2
|
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-2/+2
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* DeployQt4: workaround bug 13258 where ARGV1 is leaked into a sub function.Clinton Stimpson2012-07-091-1/+1
|
* DeployQt4: Add path to Qt dlls on Windows.Clinton Stimpson2012-03-071-0/+6
|
* Fix plugin installation issues.Mike McQuaid2012-02-231-13/+27
|
* Ensure libs are passed to BundleUtilities.Mike McQuaid2012-02-211-2/+2
|
* Fix bad plugin paths.Mike McQuaid2012-02-211-13/+13
|
* Fix mismatched arguments.Mike McQuaid2012-02-211-1/+1
|
* Don't use QT_LIBRARIES_PLUGINS by default.Mike McQuaid2012-02-211-4/+0
| | | | | | A lot of the libraries won't be found by default so will spit out all sorts of errors. Don't kill QT_LIBRARIES_PLUGINS altogether as it is sometimes useful.
* Improve component support and output indentation.Mike McQuaid2011-12-161-9/+13
|
* Unset configurations variable when no build type.Mike McQuaid2011-12-131-0/+2
|
* Check QtCore without warning.Mike McQuaid2011-11-141-1/+5
| | | | | When debug and release versions of QtCore were available it printed a warning. This has been fixed.
* Check plugin variables are defined before warning.Mike McQuaid2011-11-011-3/+5
|
* Don't resolve directories; are never relative.Mike McQuaid2011-11-011-2/+0
|
* Match fixup_qt4_executable with documentation.Mike McQuaid2011-11-011-2/+3
|
* Add DeployQt4 module.Mike McQuaid2011-10-031-0/+274
Add a module that gives better support to BundleUtilities to handle Qt plugins and deploy Qt applications.