summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstall
Commit message (Collapse)AuthorAgeFilesLines
* prefer list(APPEND) over string(APPEND) where appropriateDaniel Pfeifer2016-08-081-2/+2
|
* Use string(APPEND) in TestsDaniel Pfeifer2016-07-271-2/+2
| | | | | | | Automate with: find Tests -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* Revise C++ coding style using clang-formatKitware Robot2016-05-167-42/+35
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* InstallRequiredSystemLibraries: Optionally install Windows UCRT (#16073)Brad King2016-05-121-0/+1
|
* install: Allow generator expressions in DIRECTORYYves Frederix2016-01-131-2/+2
| | | | | Teach install(DIRECTORY) to support generator expressions in the list of directories, much like install(FILES) already supports.
* install: Allow generator expressions in DIRECTORY DESTINATIONRobert Goulet2015-09-241-3/+3
|
* Tests: Cover install(FILES) with a genex DESTINATIONBrad King2015-09-231-2/+2
|
* Tests: Teach SimpleInstall to use "cmake --build"Brad King2013-11-181-14/+11
| | | | | Switch from "ctest --build-and-test" to "cmake --build" to drive the install and package targets in the SimpleInstall test.
* replace string(... MATCHES "^const$) with string(... STREQUAL "const")Rolf Eike Beer2013-06-021-1/+1
|
* Remove CMake-language block-end command argumentsKitware Robot2012-08-137-56/+56
| | | | | | | | | | | | | | | | | 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-1310-268/+268
| | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-135-13/+13
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* export(): Document undefined behavior of location propertiesBrad King2011-12-011-5/+6
| | | | | | | | Since the export() command needs to know the final location of a target in the build tree we cannot allow properties affecting the location or name of a target file to be set after the target is passed to export(). Fix a violation of this rule in the SimpleInstall test.
* Fix XCode -> Xcode typos, notably in man page (#12231)Sean McBride2011-05-311-1/+1
|
* SimpleInstall test now builds an installer package if CTEST_TEST_CPACK is ON ↵David Cole2009-11-161-1/+8
| | | | at the Tests/CMakeLists.txt level.
* ENH: Allow more specification of target file namesBrad King2009-05-011-1/+5
| | | | | | | | | | | | | | This creates target properties ARCHIVE_OUTPUT_NAME, LIBRARY_OUTPUT_NAME, and RUNTIME_OUTPUT_NAME, and per-configuration equivalent properties ARCHIVE_OUTPUT_NAME_<CONFIG>, LIBRARY_OUTPUT_NAME_<CONFIG>, and RUNTIME_OUTPUT_NAME_<CONFIG>. They allow specification of target output file names on a per-type, per-configuration basis. For example, a .dll and its .lib import library may have different base names. For consistency and to avoid ambiguity, the old <CONFIG>_OUTPUT_NAME property is now also available as OUTPUT_NAME_<CONFIG>. See issue #8920.
* ENH: Add install(DIRECTORY) option 'OPTIONAL'Brad King2009-02-241-0/+3
| | | | | | This adds the OPTIONAL option to the install(DIRECTORY) command. It tells the installation rule that it is not an error if the source directory does not exist. See issue #8394.
* ENH: Add UNKNOWN type for IMPORTED librariesBrad King2008-08-181-1/+5
| | | | | | | | | | | | | | | When creating an IMPORTED target for a library that has been found on disk, it may not be known whether the library is STATIC or SHARED. However, the library may still be linked using the file found from disk. Use of an IMPORTED target is still important to allow per-configuration files to be specified for the library. This change creates an UNKNOWN type for IMPORTED library targets. The IMPORTED_LOCATION property (and its per-config equivalents) specifies the location of the library. CMake makes no assumptions about the library that cannot be inferred from the file on disk. This will help projects and find-modules import targets found on disk or specified by the user.
* ENH: Add patch for feature request #6847 - CPack components for NSIS and ↵David Cole2008-06-171-21/+5
| | | | PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available.
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* BUG: Updated SimpleInstall tests for new export/import interface.Brad King2008-01-281-6/+6
|
* ENH: Added FILES_MATCHING option to INSTALL(DIRECTORY). This will help ↵Brad King2008-01-021-0/+13
| | | | install a tree of header files while ignoring non-headers.
* BUG: Fix SimpleInstall test to work with new dependency of package on all.Brad King2008-01-011-0/+1
|
* BUG: Need extra regex to parse sw_vers output on Mac OSX 10.2 (and ↵David Cole2007-11-101-3/+4
| | | | presumably earlier) to avoid running PackageMaker during the SimpleInstall* tests. See comment in CMake/Tests/SimpleInstall/CMakeLists.txt for more info.
* BUG: Fix #5868 - add COMPONENT handling to the SCRIPT and CODE signatures of ↵David Cole2007-10-153-2/+43
| | | | the INSTALL command.
* COMP: Rename the executables for the SimpleInstall tests so that the ↵David Cole2007-10-011-6/+6
| | | | executable files that run during the test do not have the word install in their file names. This allows running the tests on Windows Vista without admin privileges and without adding a manifest containing the asInvoker requestedExecutionLevel element.
* ENH: Disable package test only on OSX < 10.4. Added comment explaining ↵Brad King2007-09-201-6/+17
| | | | reason for timeout.
* ENH: Re-enable packaging part of SimpleInstall-Stage2 test on Apple. Give ↵Brad King2007-09-191-0/+3
| | | | it a long timeout to see what is going on.
* COMP: reenable the installation of the PUBLIC_HEADERsAlexander Neundorf2007-09-191-2/+2
| | | | Alex
* COMP: disable packaging test on Apple, see if this fixes the timeoutsAlexander Neundorf2007-09-171-1/+8
| | | | Alex
* ENH: test install of debug libsBill Hoffman2007-09-171-0/+1
|
* ENH: turn this stuff off to see if it fixes the dashboard on midworldBill Hoffman2007-09-101-2/+2
|
* STYLE: adapt the test to the change from FILENAME to FILEAlexander Neundorf2007-08-301-1/+5
| | | | | | -add a call to the EXPORT() command Alex
* ENH: add test for installing a header marked as PUBLIC_HEADER of a libraryAlexander Neundorf2007-08-271-0/+2
| | | | Alex
* COMP: add a test for exporting and importing targetsAlexander Neundorf2007-08-271-1/+17
| | | | Alex
* COMP: the SimpleInstall test also succeeds on the Mac, so maybe AndysAlexander Neundorf2007-08-271-35/+16
| | | | | | comment is not valid anymore Alex
* ENH: Enable versioned executable test everywhere but XCode.Brad King2007-07-021-1/+3
|
* ENH: Added more install rules to increase coverage of the command.Brad King2007-05-281-1/+15
|
* ENH: Added testing of REGEX option to INSTALL(DIRECTORY). Added tests to ↵Brad King2007-05-253-16/+42
| | | | cover all forms of old-style install commands.
* ENH: Add test to see if INSTALL_FILES actually worked.Brad King2007-05-251-0/+1
|
* BUG: Remove spaces from test output paths. Not all make tools can handle ↵Brad King2007-03-131-3/+3
| | | | it. Ths SubDirSpaces test is meant for that purpose anyway.
* ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, ↵Brad King2007-03-121-3/+6
| | | | LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210.
* ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for ↵Andy Cedilnik2006-10-121-0/+10
| | | | CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX
* ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for ↵Andy Cedilnik2006-10-121-1/+2
| | | | CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX
* BUG: Do not collapse the INSTALL_NAME_DIR setting because users may intend ↵Brad King2006-10-111-1/+2
| | | | to have .. in the path. This makes the makefile generator consistent with the already working Xcode implementation of this feature. Also added a test for @executable_path/.. style settings for this property.
* ENH: Added OPTIONAL option to INSTALL command to allow installation of files ↵Brad King2006-10-051-0/+3
| | | | if they exist while ignoring them otherwise. This addresses bug#2922.
* ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This ↵Brad King2006-08-291-0/+12
| | | | addresses bug#3572.
* ENH: Always do tar.Z since we do have compress now builtinAndy Cedilnik2006-08-241-26/+26
|
* ENH: Added code to remove any bad installations of CVS directories before ↵Brad King2006-08-241-0/+2
| | | | running the test so that one failure does not need manual adjustment to get it to pass again.
* ENH: Added check for bad installation of a CVS directory to test.Brad King2006-08-211-0/+6
|