Brad King
dc1d2189ae
CMake 2.8.1-rc1
2010-01-28 16:48:20 -05:00
Brad King
2740db5ede
ENH: Allow more specification of target file names
...
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 .
2009-05-01 09:45:43 -04:00
Brad King
1595b8e69e
ENH: Add install(DIRECTORY) option 'OPTIONAL'
...
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 .
2009-02-24 11:41:40 -05:00
Brad King
061d20be38
ENH: Add UNKNOWN type for IMPORTED libraries
...
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.
2008-08-18 11:39:22 -04:00
David Cole
1105a86c52
ENH: Add patch for feature request #6847 - CPack components for NSIS and 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.
2008-06-17 11:39:26 -04:00
Ken Martin
ce8810c4e7
ENH: preclean some warnings
2008-03-25 11:27:18 -04:00
Brad King
1332b55794
BUG: Updated SimpleInstall tests for new export/import interface.
2008-01-28 08:39:25 -05:00
Brad King
60bf0531b0
ENH: Added FILES_MATCHING option to INSTALL(DIRECTORY). This will help install a tree of header files while ignoring non-headers.
2008-01-02 15:17:56 -05:00
Brad King
24d6ecd81c
BUG: Fix SimpleInstall test to work with new dependency of package on all.
2008-01-01 10:54:49 -05:00
David Cole
6767a658fc
BUG: Need extra regex to parse sw_vers output on Mac OSX 10.2 (and presumably earlier) to avoid running PackageMaker during the SimpleInstall* tests. See comment in CMake/Tests/SimpleInstall/CMakeLists.txt for more info.
2007-11-10 06:54:43 -05:00
David Cole
c8e832dcf5
BUG: Fix #5868 - add COMPONENT handling to the SCRIPT and CODE signatures of the INSTALL command.
2007-10-15 07:08:15 -04:00
David Cole
890efa7980
COMP: Rename the executables for the SimpleInstall tests so that the 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.
2007-10-01 15:57:34 -04:00
Brad King
bb6b7de09a
ENH: Disable package test only on OSX < 10.4. Added comment explaining reason for timeout.
2007-09-20 10:56:33 -04:00
Brad King
4710c7aef6
ENH: Re-enable packaging part of SimpleInstall-Stage2 test on Apple. Give it a long timeout to see what is going on.
2007-09-19 11:10:35 -04:00
Alexander Neundorf
b4f02ec0bd
COMP: reenable the installation of the PUBLIC_HEADERs
...
Alex
2007-09-19 09:04:26 -04:00
Alexander Neundorf
2f7f5eb04a
COMP: disable packaging test on Apple, see if this fixes the timeouts
...
Alex
2007-09-17 16:21:24 -04:00
Bill Hoffman
6e9b3f36eb
ENH: test install of debug libs
2007-09-17 15:27:59 -04:00
Bill Hoffman
fdab49ab57
ENH: turn this stuff off to see if it fixes the dashboard on midworld
2007-09-10 17:39:28 -04:00
Alexander Neundorf
56c0bbc83f
STYLE: adapt the test to the change from FILENAME to FILE
...
-add a call to the EXPORT() command
Alex
2007-08-30 16:23:12 -04:00
Alexander Neundorf
8302ea66d2
ENH: add test for installing a header marked as PUBLIC_HEADER of a library
...
Alex
2007-08-27 16:05:42 -04:00
Alexander Neundorf
556b1257ac
COMP: add a test for exporting and importing targets
...
Alex
2007-08-27 15:15:26 -04:00
Alexander Neundorf
cfd9fdf5de
COMP: the SimpleInstall test also succeeds on the Mac, so maybe Andys
...
comment is not valid anymore
Alex
2007-08-27 14:44:32 -04:00
Brad King
c8b263c674
ENH: Enable versioned executable test everywhere but XCode.
2007-07-02 09:58:08 -04:00
Brad King
06472d620a
ENH: Added more install rules to increase coverage of the command.
2007-05-28 11:41:29 -04:00
Brad King
a99c60b0ed
ENH: Added testing of REGEX option to INSTALL(DIRECTORY). Added tests to cover all forms of old-style install commands.
2007-05-25 11:41:37 -04:00
Brad King
3124c60938
ENH: Add test to see if INSTALL_FILES actually worked.
2007-05-25 11:09:22 -04:00
Brad King
176879b2fe
BUG: Remove spaces from test output paths. Not all make tools can handle it. Ths SubDirSpaces test is meant for that purpose anyway.
2007-03-12 23:36:56 -04:00
Brad King
cf7eeab37a
ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210.
2007-03-12 10:23:06 -04:00
Andy Cedilnik
df1ff57498
ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for 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
2006-10-12 13:30:00 -04:00
Andy Cedilnik
e31dc3abe5
ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for 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
2006-10-12 13:05:50 -04:00
Brad King
b20fd1af11
BUG: Do not collapse the INSTALL_NAME_DIR setting because users may intend 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.
2006-10-11 12:41:20 -04:00
Brad King
934c804ea4
ENH: Added OPTIONAL option to INSTALL command to allow installation of files if they exist while ignoring them otherwise. This addresses bug#2922.
2006-10-05 11:31:57 -04:00
Brad King
27a67fb72f
ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This addresses bug#3572.
2006-08-29 15:04:29 -04:00
Andy Cedilnik
3ef750a42c
ENH: Always do tar.Z since we do have compress now builtin
2006-08-24 10:57:27 -04:00
Brad King
93163cc1f9
ENH: Added code to remove any bad installations of CVS directories before running the test so that one failure does not need manual adjustment to get it to pass again.
2006-08-24 09:47:52 -04:00
Brad King
a2b89129de
ENH: Added check for bad installation of a CVS directory to test.
2006-08-21 17:52:34 -04:00
Brad King
08398a9f0c
BUG: Need to execute sample_script.bat on windows and sample_script otherwise.
2006-08-21 17:37:40 -04:00
Brad King
bed79f6c6b
ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized cmFileCommand's implementation of FILE(INSTALL) a bit to help out. This addresses bug#1694 and partially addresses bug#2691.
2006-08-21 16:55:03 -04:00
Bill Hoffman
372b6932ed
ENH: fix error in if statement
2006-08-10 23:20:58 -04:00
Bill Hoffman
4ddcdbed9a
ENH: fix failing tests
2006-08-10 09:38:52 -04:00
Bill Hoffman
fe3d8078c5
ENH: try to fix compress failure
2006-08-09 11:32:23 -04:00
Bill Hoffman
bba6583942
ENH: finally fix the failing test on the dashboard for the past month or so
2006-08-07 10:10:38 -04:00
Andy Cedilnik
0de464fe36
ENH: Add test for bz2 and check for compress
2006-07-28 09:22:34 -04:00
Brad King
50a0f71120
ENH: Added CONFIGURATIONS option to INSTALL command to allow per-configuration install rules.
2006-05-05 14:57:19 -04:00
Brad King
66d7aef82b
ENH: Adding COMPONENT option to an INSTALL command call to smoke-test it.
2006-05-05 11:51:07 -04:00
Brad King
428b4c9244
ENH: Updated VS6 generator to use target.GetFullName() to compute target file names.
2006-04-18 11:45:31 -04:00
Brad King
d4c5fe840b
ENH: Added INSTALL(CODE) mode to allow inline specification of install script code. This reduces the need for configuring an install script that needs some variable settings because the install code can set thing up first.
2006-04-12 22:04:50 -04:00
Bill Hoffman
3df8a59374
ENH: add test for mfc
2006-04-10 13:52:22 -04:00
Brad King
ca5647c92c
ENH: Added ARCHIVE option to the TARGETS mode of the INSTALL command. It is a third option added to RUNTIME and LIBRARY property types. Static libraries and import libraries are now treated as ARCHIVE targets instead of LIBRARY targets. This adds a level of granularity necessary for upcoming features. Also updated the CVS CMake patch level set in CMake_VERSION_PATCH from 4 to 5 to allow users of this version to know whether this incompatible change is present.
2006-03-24 16:11:24 -05:00
Andy Cedilnik
3d44b9a354
ENH: Add additional subdirectory to improve testing and to allow cleanup when testing cpack
2006-03-08 14:02:30 -05:00