summaryrefslogtreecommitdiffstats
path: root/Modules/InstallRequiredSystemLibraries.cmake
Commit message (Collapse)AuthorAgeFilesLines
* InstallRequiredSystemLibraries: Use correct file names (#13315)David Cole2012-08-171-2/+3
| | | | | | | | | | | | | | | | The Spanish language MFC localization dll changed names from VS 9 to 10. Use the correct file name ending with "esn.dll" instead of the now non-existent one ending with "esp.dll" Also, add the existing, but missing from our rules until now, Russian language module. Alphabetize the list while we're at it for easier reading in the future. We may want to consider adding some file(GLOB code here to minimize the risk of missing files added in future versions of VS.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-32/+32
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-158/+158
| | | | | | | | | | | | | | | | | 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
* VS11: Update InstallRequiredSystemLibraries.cmake for VS11 (#11213)David Cole2011-11-081-38/+58
| | | | Should fix the newly added MFC test on VS11 dashboards.
* Add Watcom support to InstallRequiredSystemLibraries (#11866)David Cole2011-07-291-0/+34
| | | | | | | Also adds code to determine the version of the Watcom compiler in use. Thanks to J Decker for the patch.
* InstallRequiredSystemLibraries: Read reg values with get_filename_componentDavid Cole2011-03-091-4/+12
| | | | | | | | | 64-bit CMake can now find the VC redist folder. See this thread on the CMake mailing list for the original report: http://www.cmake.org/pipermail/cmake/2011-March/043342.html Thanks to J. Decker for the suggested fix.
* Add CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS variableDavid Cole2011-01-131-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parent commit added a warning message whenever a required file does not exist. As it turns out, the "required" files never exist when built with Visual Studio Express editions. Add a variable to suppress these warning messages because only packagers or naive includers of this file will care to see such warning messages. We want to warn about this condition by default so that people who are using InstallRequiredSystemLibraries without understanding it fully will have a chance of understanding why it's not working in the event of missing required files. But we also want to give projects the ability to suppress this warning (by "project's choice default") so that they can encourage users who are restricted to using an Express edition to build their project. Packagers should explicitly use... -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS=OFF ...when building releases. That way, their release build process will warn them about any missing files, but only if their project CMakeLists files use a construct similar to CMake's: IF(NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS) SET(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON) ENDIF()
* VS10: Fix problems with InstallRequiredSystemLibraries.David Cole2011-01-131-23/+24
| | | | | | | | | | | | | | | | | | | | | Thanks to "J Decker" on the CMake mailing list for pointing out that one of the MSVC10_CRT_DIR settings was using "VC90" instead of "VC100". After fixing that, I added the code to generate a CMake warning if one of the files we think is "required" does not exist. Then, with VS10, there were several other problems that the warning revealed: - MSVC10_REDIST_DIR needed more PATHS to be found correctly - the 64-bit directory is named "x64" now, not "amd64" as in previous VS versions - manifest files no longer exist as separate files in the redist subdirectories (they must be built-in as resources to the dlls...?)
* InstallRequiredSystemLibraries debug-only (#11141)Mike McQuaid2011-01-061-51/+72
| | | | | | | | Add support to InstallRequiredSystemLibraries to only install debug libraries when both debug and release versions are available. This is as if you are building a debug package then only the debug versions are needed but not the release.
* Add variable for InstallRequiredSystemLibraries dir (#11140)Mike McQuaid2011-01-061-6/+11
| | | | | | | | | InstallRequiredSystemLibraries currently defaults to installing to bin on WIN32 and lib otherwise. This patch allows you to configure this by using the variable CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION. It also switches the logic to use a single INSTALL(PROGRAMS) command rather than two deprecated uses of the INSTALL_PROGRAMS command.
* Fix incorrect variable documentation (#11127)Mike McQuaid2011-01-061-4/+4
| | | | | | | | In InstallRequiredSystemLibraries the documentation details the variable CMAKE_SKIP_INSTALL_RULES to skip installation. This actually doesn't do anything, the variable required is named CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP. This commit amends the documentation to point to the correct variable.
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Fix for bug 9960, add support for MSVC10 runtime dlls.Bill Hoffman2009-12-171-0/+69
|
* Minor typo in commentsMathieu Malaterre2009-12-081-2/+2
|
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+13
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* BUG: Because of Windows registry madness, we could not find the ↵David Cole2008-11-131-7/+17
| | | | redistributables directory on Win64 builds... Add a search directory based on devenv (CMAKE_MAKE_PROGRAM) location so we can find it despite the madness.
* BUG: Fix issue #6610. Use 64-bit system binaries when using the 64-bit MSVC ↵David Cole2008-07-301-12/+19
| | | | compiler. Thanks to Clinton Stimpson for the patch.
* ENH: add vs9 mfc librariesBill Hoffman2008-04-031-2/+41
|
* ENH: add vs9 stuff, still need msvc9 mfcBill Hoffman2008-02-291-0/+29
|
* ENH: change nameBill Hoffman2007-11-091-2/+2
|
* ENH: add ability to use your own install directoriesBill Hoffman2007-11-091-6/+12
|
* ENH: remove messageBill Hoffman2007-09-211-1/+0
|
* ENH: allow for installation of debug libsBill Hoffman2007-09-171-4/+35
|
* BUG: fix for bug 4420 add language dll's to mfc installBill Hoffman2007-02-201-0/+18
|
* BUG: fix for 4420 Unicode and MBC versions of the MFCBill Hoffman2007-02-071-0/+3
|
* ENH: Implemented support for installing VC8 runtime libraries.Brad King2006-08-171-3/+18
|
* ENH: add correct flags for msvc generatorsBill Hoffman2006-04-101-19/+4
|
* ENH: Handle visual studio versionsAndy Cedilnik2006-03-211-9/+57
|
* ENH: Install system libraries only if project requires themAndy Cedilnik2006-03-011-0/+29