summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* ENH: preclean some warningsKen Martin2008-03-2570-2/+72
|
* ENH: Add "if(POLICY policy-id)" option for IF command.Brad King2008-03-203-0/+15
| | | | | | | | | | | - This will help projects support multiple CMake versions. - In order to set a policy when using a newer CMake but still working with an older CMake one may write if(POLICY CMP1234) cmake_policy(SET CMP1234 NEW) endif(POLICY CMP1234) - Note that since CMake 2.4 does not have if(POLICY) supporting it will also require using "if(COMMAND cmake_policy)"
* BUG: Convert cmake_policy(VERSION) to cmake_minimum_required(VERSION) in ↵Brad King2008-03-202-2/+2
| | | | Tests/MakeClean/ToClean/CMakeLists.txt and Tests/Preprocess/CMakeLists.txt. CMP0000 now requires the cmake_minimum_required command.
* ENH: add REMOVE_DUPLICATES subcommand to LIST command (and test). Remove ↵Sebastien Barre2008-03-121-0/+4
| | | | duplicates from a list (keep the ordering)
* ENH: Improve handling of old-style compatibility.Brad King2008-03-072-0/+2
| | | | | | | | | | | | | | | | | | | - Remove CMP_0001 (no slash in target name) and restore old CMAKE_BACKWARDS_COMPATIBILITY check for it - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY with cmLocalGenerator::NeedBackwardsCompatibility calls - Create new CMP_0001 to determine whether or not CMAKE_BACKWARDS_COMPATIBILITY is used. (old = use, new = ignore) - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when CMP_0001 is set to OLD or WARN - Update documentation of cmake_policy and cmake_minimum_required to indicate their relationship and the 2.4 version boundary - When no cmake policy version is set in top level makefile implicitly call cmake_policy(VERSION 2.4) which restores CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility - Fix tests MakeClean and Preprocess to call cmake_policy(VERSION 2.6) because they depend on new policies
* ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries ↵David Cole2008-03-042-2/+159
| | | | executable files depend on. Primary uses are to determine what shared libraries should be copied into Mac OSX bundle applications to create standalone bundles apps and to determine what shared library files need to be installed for an executable to run on any platform. Requires native platform tools dumpbin, otool and ldd to generate results.
* BUG: Fix typo XCode -> Xcode in Preprocess test.Brad King2008-03-011-2/+2
|
* ENH: Update Preprocess test to distinguish between the make tool or compiler ↵Brad King2008-03-011-27/+75
| | | | tool that is at fault for not supporting a particular character in definitions. Make it skip the % character when the compiler is MSVC and it is a non-nmake tool.
* ENH: Updated DEFINE_PROPERTY command to be more extendible and more ↵Brad King2008-02-144-8/+19
| | | | consistent with new SET_PROPERTY and GET_PROPERTY signatures.
* BUG: Need ANSI C.Brad King2008-02-081-0/+2
|
* ENH: Make Dependency test Case2 require two traversals of a static library loop.Brad King2008-02-076-6/+11
|
* ENH: complex must link to curl nowBill Hoffman2008-02-073-3/+6
|
* ENH: Combine all dependency* tests into one Dependency test. Add more ↵Brad King2008-02-0618-54/+111
| | | | difficult test cases.
* ENH: Improve exporting/importing of targetsBrad King2008-02-061-1/+4
| | | | | - Use real name instead of link for location of versioned targets - Error when a target is exported multiple times
* COMP: Convert C function prototypes to use (void) instead of ().Brad King2008-02-034-5/+5
|
* ENH: disable test for vs 70 as devenv randomly segfaults when building the ↵Ken Martin2008-02-011-2/+2
| | | | sub-project
* BUG: Remove InstallNameFixupPath from cmTarget and cmInstallTargetGenerator.Brad King2008-02-011-8/+8
| | | | | | | | | - Motivation: - It depended on the order of installation - It supported only a single destination for each target - It created directory portions of an install name without user request - Updated ExportImport test to install targets in an order that expoed this bug
* ENH: Update ExportImport test to enforce dependent library pathsBrad King2008-02-012-0/+11
| | | | | - Build without rpaths - Place implementation libs in separate directories
* BUG: Fix commit 1.41 of Tests/CMakeLists.txt to place fake target before ↵Brad King2008-02-011-1/+1
| | | | --version flag instead of after.
* ENH: Support linking to shared libs with dependent libsBrad King2008-01-311-10/+5
| | | | | | | | | - Split IMPORTED_LINK_LIBRARIES into two parts: IMPORTED_LINK_INTERFACE_LIBRARIES IMPORTED_LINK_DEPENDENT_LIBRARIES - Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior - Set mode to LINK for Darwin (fixes universal binary problem) - Update ExportImport test to account for changes
* ENH: Updated ExportImport test to try LINK_INTERFACE_LIBRARIES.Brad King2008-01-307-14/+59
|
* ENH: add missing filesBill Hoffman2008-01-302-0/+18
|
* ENH: fix for bug 3218 dependant projects are written out automatically if ↵Bill Hoffman2008-01-304-2/+49
| | | | they are in the project. Also fix bug 5829, remove hard coded CMAKE_CONFIGURATION_TYPES from vs 7 generator
* BUG: Custom command driver outputs must be SYMBOLIC since no corresponding ↵Brad King2008-01-291-0/+12
| | | | file is created.
* BUG: Make sure CMAKE_INSTALL_PREFIX stays in subproject caches.Brad King2008-01-291-2/+2
|
* ENH: Added version support to Config mode of find_package command.Brad King2008-01-299-1/+77
| | | | | | - Added EXACT option to request an exact version. - Enforce version using check provided by package. - Updated FindPackageTest to test versioning in config mode.
* BUG: Fix Framework test after fixing FRAMEWORK targets to not install like ↵Brad King2008-01-281-0/+2
| | | | frameworks on non-Apple systems.
* ENH: Support exporting/importing of AppBundle targets.Brad King2008-01-284-3/+45
| | | | | | | | - Imported bundles have the MACOSX_BUNDLE property set - Added cmTarget::IsAppBundleOnApple method to simplify checks - Document BUNDLE keyword in INSTALL command - Updated IMPORTED_LOCATION property documentation for bundles - Updated ExportImport test to test bundles
* BUG: Fix export/import file generation to not store link dependencies of ↵Brad King2008-01-283-1/+6
| | | | executables or modules.
* ENH: Restored APPEND option to EXPORT() command in new implementation.Brad King2008-01-281-1/+5
|
* ENH: Added framework to ExportImport test.Brad King2008-01-284-5/+17
|
* ENH: Added ExportImport test to test new export/import features.Brad King2008-01-2812-0/+224
|
* BUG: Updated SimpleInstall tests for new export/import interface.Brad King2008-01-282-12/+12
|
* ENH: add testing for return and break commandsKen Martin2008-01-234-0/+151
|
* ENH: Added RuntimePath test to make sure rpath gets correct order.Brad King2008-01-227-0/+50
|
* ENH: Implement linking with paths to library files instead of -L and -l ↵Brad King2008-01-223-345/+9
| | | | | | | | | | | | | | | | | separation. See bug #3832 - This is purely an implementation improvement. No interface has changed. - Create cmComputeLinkInformation class - Move and re-implement logic from: cmLocalGenerator::ComputeLinkInformation cmOrderLinkDirectories - Link libraries to targets with their full path (if it is known) - Dirs specified with link_directories command still added with -L - Make link type specific to library names without paths (name libfoo.a without path becomes -Wl,-Bstatic -lfoo) - Make directory ordering specific to a runtime path computation feature (look for conflicting SONAMEs instead of library names) - Implement proper rpath support on HP-UX and AIX.
* BUG: Do not get in infinite loop when checking make tool version in cmake ↵Brad King2008-01-211-1/+1
| | | | build tree.
* ENH: Implement version support in the find_package command module mode. ↵Brad King2008-01-214-0/+43
| | | | Version numbers provided to the command are converted to variable settings to tell the FindXXX.cmake module what version is requested. This addresses issue #1645.
* ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE)Alexander Neundorf2008-01-183-9/+10
| | | | Alex
* ENH: Make per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property ↵Brad King2008-01-186-3/+27
| | | | initialized from parent.
* ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into ↵Brad King2008-01-183-0/+75
| | | | a COMPILE_DEFINITIONS directory property.
* ENH: Use new set_property signature to set COMPILE_DEFINITIONS properties in ↵Brad King2008-01-171-17/+19
| | | | Preprocess test.
* ENH: Changed signature of GET_PROPERTY command to be more powerful and ↵Brad King2008-01-171-10/+12
| | | | extendible.
* ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more ↵Brad King2008-01-172-6/+5
| | | | powerful signature.
* STYLE: change case to match bookKen Martin2008-01-172-6/+6
|
* ENH: Updated FindPackageTest to test new find_package command features.Brad King2008-01-1711-0/+70
|
* ENH: Renamed <CONFIG>_COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_<CONFIG> ↵Brad King2008-01-161-4/+4
| | | | for better documentation clarity.
* BUG: Add newline between properties.Brad King2008-01-151-1/+1
|
* BUG: Test needs ansi C code support.Brad King2008-01-151-0/+5
|
* BUG: Disable semicolon test on VS 7.0.Brad King2008-01-141-3/+6
|