summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* ENH: add gfortran-4Bill Hoffman2008-11-181-1/+1
|
* ENH: fix gcc sun fortran mixBill Hoffman2008-11-111-2/+5
|
* ENH: put a check in for the gnu sunpro caseBill Hoffman2008-11-101-0/+5
|
* ENH: make the test pass when fortran is gnu and c is clBill Hoffman2008-11-061-34/+44
|
* ENH: add a way to fix bullseye link with fortranBill Hoffman2008-11-061-0/+5
|
* ENH: only call the fortran c interface test when compilers matchBill Hoffman2008-11-051-47/+63
|
* ENH: only allow matching fortran a c compilers to be usedBill Hoffman2008-11-031-2/+11
|
* ENH: do not error when sunpro or mipspro fortran usedBill Hoffman2008-10-311-1/+1
|
* ENH: do not error when sunpro or mipspro fortran usedBill Hoffman2008-10-311-2/+13
|
* ENH: add some debug stuff for the dashboardsBill Hoffman2008-10-301-0/+28
|
* ENH: Use settings for CPackComponents test to make it fail if the recent fix ↵David Cole2008-10-292-1/+31
| | | | of cmCPackGenerator.cxx revision 1.16 ever encounters another regression.
* ENH: add test for FortranCInterfaceBill Hoffman2008-10-294-1/+40
|
* ENH: Activate GetPrerequisites code on Linux. Thanks to Mike Arthur for ↵David Cole2008-10-241-8/+4
| | | | finishing it off.
* ENH: Enable cvs update test with CMake before 2.6Brad King2008-10-191-1/+6
| | | | | | When CMake is built by CMake 2.4 or lower the FindCVS module is not available. In that case we activiate CTest.UpdateCVS by searching for the cvs command directly.
* ENH: Test CTest update logic with VCS toolsBrad King2008-10-194-0/+440
| | | | | | This creates new tests "CTest.UpdateSVN" and "CTest.UpdateCVS". They test that the Update.xml produced by CTest for a version-controlled project contains entries for files added, changed, and removed.
* ENH: fix test to work with in-source testing of CMakeBill Hoffman2008-10-181-0/+6
|
* ENH: run the right cmakeBill Hoffman2008-10-151-1/+1
|
* ENH: run the right cmakeBill Hoffman2008-10-151-2/+4
|
* BUG: 4244, add a --build option to cmake that can build projects configured ↵Bill Hoffman2008-10-152-0/+57
| | | | by CMake
* ENH: Allow custom sources in custom targetsBrad King2008-10-091-0/+1
| | | | | | | This adds a SOURCES option to ADD_CUSTOM_TARGET, enabling users to specify extra sources for inclusion in the target. Such sources may not build, but will show up in the IDE project files for convenient editing. See issue #5848.
* ENH: Remove implicit NO_MODULE when recursingBrad King2008-10-081-1/+1
| | | | | | | | | Recently we taught find_package that the NO_MODULE option is implied when it is recursively invoked in a find-module. This behavior may be confusing because two identical calls may enter different modes depending on context. It also disallows the possibility that one find-module defers to another find-module by changing CMAKE_MODULE_PATH and recursively invoking find_package. This change reverts the feature.
* ENH: Add UNSUITABLE result to package version testBrad King2008-10-032-0/+12
| | | | | | | Package version test files may now declare that they are unsuitable for use with the project testing them. This is important when the version being tested does not provide a compatible ABI with the project target environment.
* ENH: Help recursive find_package calls in modulesBrad King2008-10-035-0/+13
| | | | | | | These changes teach find_package to behave nicely when invoked recursively inside a find-module for the same package. The module will never be recursively loaded again. Version arguments are automatically forwarded.
* ENH: Create $CACHE{VAR} syntaxBrad King2008-09-251-0/+14
| | | | | This syntax allows reading of cache entries even when variables of the same name have been defined in the local scope. See issue #7715.
* ENH: Add version comparison to if() commandBrad King2008-09-101-0/+17
| | | | | | Provide VERSION_LESS, VERSION_EQUAL, and VERSION_GREATER operators in the if() command. This simplifies component-wise comparison of version numbers in the form "major[.minor[.patch[.tweak]]]".
* ENH: Improve find_package version numberingBrad King2008-09-105-9/+46
| | | | | | | | Make the number of version components specified explicitly available. Set variables for unspecified version components to "0" instead of leaving them unset. This simplifies version number handling for find- and config-modules. Also support a fourth "tweak" version component since some packages use them.
* PERF: Test takes too long when recursing for executable files and when doing ↵David Cole2008-09-091-1/+1
| | | | recursive prerequisite analysis. Put it back the way it was. Add another test later to do the recursive prerequisite analysis.
* BUG: fix test to work with new restrictions that cross compiling must be onBill Hoffman2008-09-091-1/+3
|
* ENH: Add BundleUtilities.cmake and supporting changes to ↵David Cole2008-09-061-1/+1
| | | | GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided.
* BUG: Fix issue #7046 - make sure extensionless headers and resource files ↵David Cole2008-09-054-3/+13
| | | | work with the Xcode generator. Also fix incorrect mappings in the lastKnownFileType code. Add some extensionless files to the Framework test.
* ENH: Allow a custom list of debug configurationsBrad King2008-09-042-2/+11
| | | | | | Create a DEBUG_CONFIGURATIONS global property as a way for projects to specify which configuration names are considered to be 'debug' configurations.
* ENH: Add indirect dependency to Carbon and call a Carbon function from ↵David Cole2008-09-023-2/+31
| | | | executable. This will allow detecting broken dependency chaining for '-framework blah' style lib dependencies.
* BUG: Fix Unset test on VS 6Brad King2008-08-302-2/+3
| | | | | Visual Studio 6 does not recognize .cc as a C++ extension by default. Simplify the test to be C-only and use a .c extension.
* ENH: Changes that allow configuring/building BundleTest test separately from ↵David Cole2008-08-272-5/+5
| | | | the main CMake build. (Eliminate reference to CMake_SOURE_DIR.)
* ENH: Add unset() command.Brad King2008-08-253-0/+45
| | | | | | | | This introduces the unset() command to make it easy to unset CMake variables, environment variables, and CMake cache variables. Previously it was not even possible to unset ENV or CACHE variables (as in completely remove them). Changes based on patch from Philip Lowman. See issue #7507.
* ENH: Allow custom limit on object file path lengthBrad King2008-08-211-2/+5
| | | | | | | | Some native build tools, particularly those for cross compiling, may have a limit on the length of the full path to an object file name that is lower than the platform otherwise supports. This change allows the limit to be set by the project toolchain file through the variable CMAKE_OBJECT_PATH_MAX.
* ENH: Add if(TARGET) commandBrad King2008-08-206-0/+63
| | | | | | | | | | It is useful to be able to test if a target has been created. Often targets are created only inside conditions. Rather than storing the result of the condition manually for testing by other parts of the project, it is much easier for the other parts to just test for the target's existence. This will also be useful when find-modules start reporting results with IMPORTED targets and projects want to test if a certain target is available.
* ENH: Add test_clean target to wipe out testsBrad King2008-08-192-0/+60
| | | | | | We frequently need to wipe out all the CMake test build directories in order to run tests from scratch. This change adds a test_clean custom target to remove all these directories for out-of-source builds.
* ENH: Add UNKNOWN type for IMPORTED librariesBrad King2008-08-182-2/+10
| | | | | | | | | | | | | | | 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: Make link interface mode more distinctBrad King2008-08-181-1/+2
| | | | | | | | | Rename the recently added INTERFACE mode of the target_link_libraries() command to LINK_INTERFACE_LIBRARIES. This makes it much more distinct from a normal call to the command, and clearly states its connection to the property of the same name. Also require the option to appear immediately after the target name to make it a mode rather than an option.
* ENH: Add cmake_policy(GET) command modeBrad King2008-08-183-0/+15
| | | | | | | It is likely that projects or CMake modules in the future will need to check the value of a policy setting. For example, if we add a policy that affects the results of FindXYZ.cmake modules, the module code will need to be able to check the policy.
* STYLE: extend documentation for RETURN() a bitAlexander Neundorf2008-08-162-0/+11
| | | | | | ENH: add a test for calling RETURN() in an included file Alex
* BUG: Fix ExportImport test on VS6Brad King2008-08-123-2/+10
| | | | | Visual Studio 6 does not support per-target object files, so just use two separate source file names in this case.
* ENH: Test target_link_libraries INTERFACE optionBrad King2008-08-116-2/+63
|
* ENH: Test fake circular dependency caseBrad King2008-08-074-0/+27
| | | | | | A recent change fixed a case in which CMake incorrectly diagnosed a circular dependency involving a non-linkable executable target. This adds a test for that case.
* BUG: fix endif()Alexander Neundorf2008-08-061-1/+1
| | | | Alex
* ENH: add simple tests to test that the extra generators don't crashAlexander Neundorf2008-08-061-0/+49
| | | | Alex
* ENH: Test relative path custom command outputBrad King2008-08-051-1/+11
| | | | | | | As of CMake 2.6 a custom command output specified by relative path is placed in the build tree. This adds a test to make sure other references to the output are hooked up correctly, fixing a bug in CMake 2.6.1.
* ENH: fix build with Xcode project was missingBill Hoffman2008-07-311-1/+2
|
* ENH: Add test for the new CPack BundleGenerator. Thanks to Tim Shead for the ↵David Cole2008-07-307-0/+78
| | | | patch. See issue #7170 for more details.