Brad King
306e3e573f
ENH: Add test for make variable replacement in a custom command with the VERBATIM option.
2008-06-04 12:10:59 -04:00
Brad King
bed3ac8741
ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()
...
- Option was recently added but never released.
- Custom commands no longer depend on build.make so we do
not need the option.
- Rule hashes now take care of rebuilding when rules change
so the dependency is not needed.
2008-06-02 16:45:07 -04:00
Brad King
91de0b09ef
ENH: Update BuildDepends test to check #include lines with macros.
...
- Tests IMPLICIT_DEPENDS_INCLUDE_TRANSFORM properties.
- See issue #6648 .
- Works without help in VS IDEs due to native dependency handling.
- Xcode needs help to rebuild correctly.
2008-05-14 11:55:12 -04:00
Brad King
600e5e274e
ENH: Add SKIP_RULE_DEPENDS option for add_custom_command()
...
- Allows make rules to be created with no dependencies.
- Such rules will not re-run even if the commands themselves change.
- Useful to create rules that run only if the output is missing.
2008-05-14 11:38:47 -04:00
Brad King
16ec04c2a7
BUG: Fix escaping of more characters on Windows shells.
2008-04-30 15:58:45 -04:00
Brad King
c7d84b21c6
BUG: Do not escape shell operators when generating command lines.
...
- See bug#6868.
- Update CustomCommand test to check.
2008-04-29 15:34:49 -04:00
Brad King
464a6cbf34
ENH: Add test of preservation of static libraries on original link lines.
2008-04-23 00:40:32 -04:00
David Cole
05950097d8
BUG: Allow timeouts larger than 1500 for tests that may take longer than 25 minutes on really slow/busy machines. bootstrap has been timing out on tiamat, a very old machine, this should help it...
2008-04-19 13:37:38 -04:00
Alexander Neundorf
e20f1dd26c
ENH: use a common CPACK_BINARY_ prefix for the binary package generators
...
Alex
2008-04-17 17:23:21 -04:00
Brad King
629afe07ce
BUG: A per-config target name postfix should be ignored for Mac bundle and framework names.
2008-04-14 15:27:27 -04:00
Bill Hoffman
94f40300e8
ENH: add a simple x11 test for packaging
2008-04-11 10:23:27 -04:00
Bill Hoffman
ee867fb1b2
ENH: add a simple x11 program
2008-04-11 09:52:08 -04:00
Brad King
67834f2d53
BUG: Correct Mac OS X framework behavior
...
- Place the built library in foo.framework/Versions/A/foo
- Do not create unused content symlinks (like PrivateHeaders)
- Do not use VERSION/SOVERSION properties for frameworks
- Make cmTarget::GetDirectory return by value
- Remove the foo.framework part from cmTarget::GetDirectory
- Correct install_name construction and conversion on install
- Fix MACOSX_PACKAGE_LOCATION under Xcode to use the
Versions/<version> directory for frameworks
- Update the Framework test to try these things
2008-04-08 00:06:47 -04:00
Ken Martin
16f1cc9b59
ENH: support unset of properties
2008-04-01 14:22:09 -04:00
Brad King
71d292d087
BUG: Fix Fortran test to use more portable comment syntax in fixed format source.
2008-03-28 14:04:52 -04:00
Ken Martin
ff90b5efbf
BUG: make test more robust
2008-03-25 14:37:12 -04:00
Ken Martin
f0486827d5
BUG: add debugging into to check out a problem
2008-03-25 14:15:20 -04:00
Ken Martin
ce8810c4e7
ENH: preclean some warnings
2008-03-25 11:27:18 -04:00
Brad King
a6a673979d
ENH: Add "if(POLICY policy-id)" option for IF command.
...
- 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)"
2008-03-20 18:25:59 -04:00
Brad King
8e2f45c24b
BUG: Convert cmake_policy(VERSION) to cmake_minimum_required(VERSION) in Tests/MakeClean/ToClean/CMakeLists.txt and Tests/Preprocess/CMakeLists.txt. CMP0000 now requires the cmake_minimum_required command.
2008-03-20 18:25:33 -04:00
Sebastien Barre
f64d3d0b77
ENH: add REMOVE_DUPLICATES subcommand to LIST command (and test). Remove duplicates from a list (keep the ordering)
2008-03-12 17:02:10 -04:00
Brad King
5233b75a77
ENH: Improve handling of old-style compatibility.
...
- 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
2008-03-07 15:30:35 -05:00
David Cole
a4e0edd4e8
ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries 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.
2008-03-04 08:18:34 -05:00
Brad King
b2cf4db201
BUG: Fix typo XCode -> Xcode in Preprocess test.
2008-03-01 10:56:03 -05:00
Brad King
e083de1cf5
ENH: Update Preprocess test to distinguish between the make tool or compiler 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.
2008-03-01 09:08:59 -05:00
Brad King
b459ec9f57
ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures.
2008-02-14 13:36:23 -05:00
Brad King
a71d56096c
BUG: Need ANSI C.
2008-02-08 09:24:29 -05:00
Brad King
bdb628145a
ENH: Make Dependency test Case2 require two traversals of a static library loop.
2008-02-07 16:14:17 -05:00
Bill Hoffman
378ca535a4
ENH: complex must link to curl now
2008-02-07 08:55:56 -05:00
Brad King
1cba430d1b
ENH: Combine all dependency* tests into one Dependency test. Add more difficult test cases.
2008-02-06 14:52:12 -05:00
Brad King
9e64d5b272
ENH: Improve exporting/importing of targets
...
- Use real name instead of link for location of versioned targets
- Error when a target is exported multiple times
2008-02-06 14:20:36 -05:00
Brad King
4d9fa41124
COMP: Convert C function prototypes to use (void) instead of ().
2008-02-03 08:57:58 -05:00
Ken Martin
8f5e85c4cc
ENH: disable test for vs 70 as devenv randomly segfaults when building the sub-project
2008-02-01 16:17:06 -05:00
Brad King
16186ec18c
BUG: Remove InstallNameFixupPath from cmTarget and cmInstallTargetGenerator.
...
- 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
2008-02-01 13:08:12 -05:00
Brad King
587419db83
ENH: Update ExportImport test to enforce dependent library paths
...
- Build without rpaths
- Place implementation libs in separate directories
2008-02-01 09:57:47 -05:00
Brad King
65761dee55
BUG: Fix commit 1.41 of Tests/CMakeLists.txt to place fake target before --version flag instead of after.
2008-02-01 09:36:54 -05:00
Brad King
2cff26fa52
ENH: Support linking to shared libs with dependent libs
...
- 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
2008-01-31 15:45:31 -05:00
Brad King
109b5fc7a2
ENH: Updated ExportImport test to try LINK_INTERFACE_LIBRARIES.
2008-01-30 17:26:09 -05:00
Bill Hoffman
d51e9cf180
ENH: add missing files
2008-01-30 13:02:32 -05:00
Bill Hoffman
8a83f09637
ENH: fix for bug 3218 dependant projects are written out automatically if they are in the project. Also fix bug 5829, remove hard coded CMAKE_CONFIGURATION_TYPES from vs 7 generator
2008-01-30 12:04:38 -05:00
Brad King
e5fce58da3
BUG: Custom command driver outputs must be SYMBOLIC since no corresponding file is created.
2008-01-29 08:03:43 -05:00
Brad King
3630a4e4e7
BUG: Make sure CMAKE_INSTALL_PREFIX stays in subproject caches.
2008-01-29 07:57:24 -05:00
Brad King
41c2895b75
ENH: Added version support to Config mode of find_package command.
...
- Added EXACT option to request an exact version.
- Enforce version using check provided by package.
- Updated FindPackageTest to test versioning in config mode.
2008-01-28 20:38:48 -05:00
Brad King
9275e1f1d2
BUG: Fix Framework test after fixing FRAMEWORK targets to not install like frameworks on non-Apple systems.
2008-01-28 14:46:58 -05:00
Brad King
e3b1bdb058
ENH: Support exporting/importing of AppBundle targets.
...
- 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
2008-01-28 14:46:16 -05:00
Brad King
437043bb04
BUG: Fix export/import file generation to not store link dependencies of executables or modules.
2008-01-28 13:37:59 -05:00
Brad King
6388ebceb1
ENH: Restored APPEND option to EXPORT() command in new implementation.
2008-01-28 13:21:42 -05:00
Brad King
611bff2c1b
ENH: Added framework to ExportImport test.
2008-01-28 13:06:17 -05:00
Brad King
976b426b2d
ENH: Added ExportImport test to test new export/import features.
2008-01-28 08:40:21 -05:00
Brad King
1332b55794
BUG: Updated SimpleInstall tests for new export/import interface.
2008-01-28 08:39:25 -05:00
Ken Martin
f4b7ba9c42
ENH: add testing for return and break commands
2008-01-23 10:29:21 -05:00
Brad King
d2d18fb565
ENH: Added RuntimePath test to make sure rpath gets correct order.
2008-01-22 09:15:16 -05:00
Brad King
96fd5909d9
ENH: Implement linking with paths to library files instead of -L and -l 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.
2008-01-22 09:13:04 -05:00
Brad King
19d22f6105
BUG: Do not get in infinite loop when checking make tool version in cmake build tree.
2008-01-21 17:29:54 -05:00
Brad King
f41b1e8e91
ENH: Implement version support in the find_package command module mode. 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 .
2008-01-21 08:48:33 -05:00
Alexander Neundorf
fc8ce17433
ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE)
...
Alex
2008-01-18 15:52:54 -05:00
Brad King
9d57dbd098
ENH: Make per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property initialized from parent.
2008-01-17 20:34:10 -05:00
Brad King
433099ecdd
ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into a COMPILE_DEFINITIONS directory property.
2008-01-17 19:29:43 -05:00
Brad King
a3e53fcfa2
ENH: Use new set_property signature to set COMPILE_DEFINITIONS properties in Preprocess test.
2008-01-17 17:34:56 -05:00
Brad King
669db35aa4
ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible.
2008-01-17 17:19:13 -05:00
Brad King
b8357db11d
ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature.
2008-01-17 15:54:49 -05:00
Ken Martin
ec2839c57d
STYLE: change case to match book
2008-01-17 10:26:49 -05:00
Brad King
81af53e3c0
ENH: Updated FindPackageTest to test new find_package command features.
2008-01-17 09:06:36 -05:00
Brad King
80c2be45e0
ENH: Renamed <CONFIG>_COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_<CONFIG> for better documentation clarity.
2008-01-15 21:02:00 -05:00
Brad King
1ab0b18ea0
BUG: Add newline between properties.
2008-01-15 10:38:15 -05:00
Brad King
3ebd9aa08b
BUG: Test needs ansi C code support.
2008-01-15 09:09:52 -05:00
Brad King
7849ab756f
BUG: Disable semicolon test on VS 7.0.
2008-01-14 11:21:06 -05:00
Brad King
8262ccfd4e
ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
2008-01-14 09:20:58 -05:00
Brad King
b761da39c1
ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default.
2008-01-09 10:30:11 -05:00
Ken Martin
ac4c2f675a
ENH: change raise_scope signature to be safer for returned varuables
2008-01-03 11:22:33 -05:00
Brad King
3fbd0ad869
ENH: Add test for FILE(READ ...HEX).
2008-01-02 18:00:19 -05:00
Brad King
dcd9a1b59f
BUG: Make RAISE_SCOPE function work when variable is not defined.
2008-01-02 17:49:16 -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
Brad King
b2e8c07af8
ENH: Implemented Fortran module output directory and search path flags.
2007-12-30 16:11:38 -05:00
Brad King
3efc6e40cb
BUG: Do not remove the source file extension when computing an object file name. This addresses bug #6169 . If CMAKE_BACKWARDS_COMPATIBILITY is 2.4 or lower maintain the old behavior so that existing build trees and old project releases are not affected.
2007-12-28 23:07:26 -05:00
Brad King
2da186266e
BUG: Disable test of fortran module dependencies except on GNU for now. A module path feature is needed for Sun support because it uses -M instead of -I for the module search path.
2007-12-28 22:53:34 -05:00
Brad King
f4fb1a4f91
ENH: Add tests of Fortran module dependencies across directories and on external modules. Tests based on cases provided by Maik in issue #5809 .
2007-12-28 11:50:29 -05:00
Brad King
d4e0727e4d
BUG: Enable CMAKE_SUPPRESS_REGENERATION because the entire test runs during the inital configuration.
2007-12-21 20:19:23 -05:00
Brad King
d83b4cd255
ENH: Add a depends check step to custom targets. Add support for the IMPLICIT_DEPENDS feature of custom commands when building in custom targets. Convert multiple-output pair checks to be per-target instead of global.
2007-12-21 12:22:12 -05:00
Brad King
07db9b83a7
ENH: Renamed CMAKE_FIND_PREFIX_PATH to CMAKE_PREFIX_PATH for brevity and consistency with other find path variable names.
2007-12-19 11:06:47 -05:00
Bill Hoffman
b57b1c563d
BUG: fix for bug 6172 add get source file prop LANGUAGE
2007-12-18 09:57:41 -05:00
Brad King
872553de7e
ENH: Implemented generation of display for pre-build, pre-link, and post-build custom command comments during the build. This addresses issue #5353 .
2007-12-18 09:50:08 -05:00
Brad King
8506938407
ENH: Added SOURCES property to targets. This is based on patch from issues #6137 .
2007-12-17 10:12:22 -05:00
Brad King
f860026155
ENH: Added test for Fortran90 modules in subdirectories.
2007-12-15 15:36:14 -05:00
Bill Hoffman
5fb34f101a
ENH: change to libs that are not real
2007-12-06 22:38:29 -05:00
Bill Hoffman
246e964180
BUG: fix for bug 5455, handle nodefaultlib with more than one lib
2007-12-06 08:40:18 -05:00
Ken Martin
f4b1c3880b
ENH: add functions and raise scope
2007-12-03 13:35:41 -05:00
Ken Martin
951444165f
ENH: add functions and raise scope to cmake
2007-12-03 12:44:42 -05:00
Bill Hoffman
6718c3c85b
BUG: try to fix configure error on dashboard
2007-11-25 17:11:29 -05:00
Alexander Neundorf
e3c84cf5a6
ENH: add support for the Syllable OS ( http://www.syllable.org )
...
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable
Alex
2007-11-23 20:45:49 -05:00
Brad King
88b31bd007
ENH: Adding test for using HEADER_FILE_ONLY to avoid building a .cxx file.
2007-11-19 14:27:43 -05:00
Ken Martin
0516f8af36
ENH: switch to new install commands to match book text
2007-11-13 11:21:51 -05:00
Ken Martin
58f0cad472
ENH: switch to new install commands to match book text
2007-11-13 11:11:03 -05:00
Brad King
17c8e898ab
BUG: Fixed fake generation of files to behave more like fluid.
2007-11-10 17:31:50 -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
4e752dee91
ENH: Add new Tutorial steps. Diff between Step5 and Step6 shows how to add a cpack driven installer to your project. Diff between Step6 and Step7 shows how to add ctest dashboard scripting capability.
2007-11-08 10:38:26 -05:00
Ken Martin
16ac724c91
ENH: add doc test for strict builds
2007-11-06 14:11:00 -05:00
Ken Martin
ba9b508478
ENH: add a etst to verify props are documented
2007-11-06 14:10:29 -05:00
Bill Hoffman
dcf21dd90b
ENH: remove findqt3 from cmake's cmakelist files
2007-11-02 10:46:03 -04:00
Alexander Neundorf
0398d8ad38
ENH: add support for CMAKE_FIND_PREFIX_PATH as discussed with Brad.
...
CMAKE_FIND_PREFIX_PATH is both an environment variable and a cmake variable,
which is a list of base directories where FIND_PATH, FIND_FILE, FIND_PROGRAM
and FIND_LIBRARY will search in the respective subdirectories
Alex
2007-10-26 09:55:40 -04: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
Ken Martin
8d32d229a3
ENH: make commands lower case by default
2007-10-10 11:47:43 -04:00
David Cole
8e4c7b99e1
ENH: Finish up the Framework creation code restructuring. Frameworks build and install now. More work needed on the packaging step. See Tests/Framework for example use.
2007-10-10 11:06:15 -04:00
Brad King
aa9ba5c3ef
ENH: Added test for 'use' keyword in a comment. Patch from Maik Beckmann. See bug#5809.
2007-10-10 09:09:09 -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
Bill Hoffman
80e0dd8c05
ENH: increase timeout
2007-09-25 08:36:21 -04:00
Bill Hoffman
004c3639f4
ENH: VV make too much data for the dashboard
2007-09-20 16:48:06 -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
7735a38557
ENH: Restore shorter timeout for SimpleInstall-Stage2.
2007-09-20 10:47:36 -04:00
Bill Hoffman
797db515a0
ENH: fix failing test when valgrind is on
2007-09-19 11:16:57 -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
Bill Hoffman
ee3d940d97
ENH: increase timeout for long test
2007-09-18 11:35:13 -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
Brad King
423cdb561c
ENH: Adding test for ADD_CUSTOM_COMMAND's new IMPLICIT_DEPENDS feature.
2007-09-17 10:51:05 -04:00
Brad King
9f542f4ef7
ENH: Added OBJECT_OUTPUTS source file property. Updated PrecompiledHeader test to use it (making the test simpler).
2007-09-13 13:37:45 -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
Bill Hoffman
226993c970
ENH: fix memory leak
2007-09-10 17:10:40 -04:00
Bill Hoffman
41b20b5979
ENH: add test that builds a nightly windows cmake binary
2007-09-10 10:49:05 -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
ef13337c1f
ENH: added tests for the CMAKE_MATCH_(0..9) variables, which get set by
...
regex matches (STRING(REGEX), IF(MATCHES))
Alex
2007-08-29 12:01:58 -04:00
Alexander Neundorf
5615d47198
COMP: enable ANSI C, this should make it work with the HP-UX compiler
...
Alex
2007-08-28 10:59:08 -04:00
Alexander Neundorf
61aa07b78c
COMP: maybe it compiles this way with the HP-UX compiler
...
Alex
2007-08-28 08:36:31 -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
Alexander Neundorf
ee9dcc95b4
ENH: add the source_group() demo to the tests
...
Alex
2007-08-27 14:17:29 -04:00
Alexander Neundorf
90aabf14f9
BUG: demo (not really test) for the source_group() command
...
Alex
2007-08-24 14:39:13 -04:00
David Cole
9a4e7ea742
ENH: Add InstallNameFixupPath to support installing built frameworks on the Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572.
2007-08-24 13:30:41 -04:00
Alexander Neundorf
e7a1b85f76
ENH: add test for source_group
...
Alex
2007-08-24 10:39:51 -04:00
Bill Hoffman
2e24dd1e5b
ENH: fix leak
2007-08-21 12:31:32 -04:00
Alexander Neundorf
2f23ecdb8a
ENH: change LIST(CONTAINS ...) TO LIST(FIND ...), which returns the index
...
and which is more useful, because then you can also access the item behind
the one you were looking, useful for writing macros with optional keywords
with parameters
Alex
2007-08-15 10:26:50 -04:00
David Cole
fa61182de8
ENH: Improvements to the Xcode generator. Build frameworks using native Copy Headers and Copy Bundle Resources phases. Fix bugs: eliminate folders with no names, ensure source files show up in multiple targets, remove empty utility targets from Sources subtrees, ensure that fileRefs only show up once in each grouping folder.
2007-08-14 11:45:15 -04:00
Alexander Neundorf
998c176cc0
STYLE: mark these variables as advanced, they are only used for testing
...
whether the tests should be added or not
Alex
2007-08-09 16:54:28 -04:00
Alexander Neundorf
feeb93cbd8
COMP: lets see if this sets the timeout back to 5400
...
Alex
2007-08-09 09:57:21 -04:00
Alexander Neundorf
9deca5887d
ENH: remove the watch for the upper case variable name, it breaks the
...
feature summary, which needs to check for both the upper case and original
case _FOUND variables
Alex
2007-08-08 13:05:27 -04:00
Alexander Neundorf
b34078bca9
COMP: change the order of the tests, so maybe the timeout works
...
Alex
2007-08-08 10:05:11 -04:00
Alexander Neundorf
5484f1bc0c
ENH: also specify the C++ compiler for mingw
...
Alex
2007-08-08 09:32:44 -04:00
Alexander Neundorf
5ac0a79029
BUG: disable this test temporarily
...
Alex
2007-08-07 18:02:33 -04:00
Alexander Neundorf
91384d7df4
BUG: the test for chicken should be named Chicken, not plplot
...
Alex
2007-08-07 10:13:47 -04:00
Alexander Neundorf
1d89334ac9
ENH: add plplot and Chicken Scheme build tests
...
Alex
2007-08-06 14:45:12 -04:00
David Cole
64f40a2816
BUG: Fix test that broke on Windows - sharing sources between SHARED and STATIC libraries requires correct export and import decorations in the source code...
2007-08-01 16:15:54 -04:00
David Cole
ee91e25499
BUG: Only pay attention to the FRAMEWORK target property for SHARED library targets
2007-08-01 13:04:45 -04:00
Alexander Neundorf
67672b814a
ENH: add tests for check_c_source_runs(), check_cxx_source_runs(),
...
check_c_source_compiles() and check_cxx_source_compiles()
-TRY_RUN in crosscompiling mode: copy the created executables to
CMAKE_BINARY_DIR so the user can run them manually on the target
Alex
2007-07-31 14:52:01 -04:00
Bill Hoffman
fcad93e172
ENH: user more memory for parser and add test to complex that sets a huge string
2007-07-20 14:08:37 -04:00
Alexander Neundorf
edb0a70d1f
STYLE: remove debug output
2007-07-16 13:29:41 -04:00
Alexander Neundorf
fac8604810
BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES) wasn't
...
working, for both the result was always empty, since
cmMakefile::GetProperty() recognized it as a special property, constructed a
correct return value and called cmMakefile::SetProperty() with this list of
directories, which then didn't actually set the property, but applied it to
the internal vector of include/link directories. The following
getPropertyValue in cmMakefile::GetProperty() then still didn't find it and
returned nothing. Now for all special property the static string output is
used and its content is returned. I'm not sure it is the right way to fix
this problem but at least it seems to work and it fixes the Paraview3 build
Alex
2007-07-16 13:26:56 -04:00
Alexander Neundorf
c8010cd7fb
ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, miguelf (AT) ieee.org
...
added tests for LIST(CONTAINS, SORT, REVERSE)
Alex
2007-07-12 11:56:45 -04:00
Alexander Neundorf
1f7eaa1c6a
COMP: hopefully fix test, finally
...
Alex
2007-07-09 08:16:04 -04:00
Alexander Neundorf
0cd81e8a8c
COMP: fix test
...
Alex
2007-07-08 22:06:32 -04:00
Alexander Neundorf
03ea7bf2e1
BUG: fix test
...
Alex
2007-07-06 14:02:42 -04:00
Alexander Neundorf
ef7b647b3b
COMP: OPTIONAL was missing in ENABLE_LANGUAGE()
...
-the assembler file seems to work for Linux and FreeBSD
-try to fix main() for HP-UX compiler
Alex
2007-07-06 08:53:16 -04:00
Alexander Neundorf
7627b96dd1
STYLE: some more output
...
Alex
2007-07-05 16:38:16 -04:00
Alexander Neundorf
0589ff74ae
COMP: skip APPLE, since there with universal binaries the assembler file would be built for both architectures
...
Alex
2007-07-05 16:32:40 -04:00
Alexander Neundorf
f9fb18f875
COMP: let's see if this assembler file works also on other platforms than linux...
...
Alex
2007-07-05 16:11:20 -04:00
Alexander Neundorf
5021eb90b9
ENH: add a simple assembler test
...
Alex
2007-07-05 09:05:40 -04:00
Alexander Neundorf
930bb0cd37
ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,
...
CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE,
CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE
Instead of presetting these variables to arbitrary filenames, users should
set up CMAKE_SYSTEM_NAME and the compilers correctly and also create a
Platform/ directory so these files will all follow the official cmake style,
which should make it easier to understand and debug project which have their
own platform/toolchain support files.
-remove support for a suffix to MS crosscompilers, since this is not (yet)
supported by cmake and might confuse users
Alex
2007-07-02 13:29:36 -04:00
Brad King
c8b263c674
ENH: Enable versioned executable test everywhere but XCode.
2007-07-02 09:58:08 -04:00
Brad King
04525424af
BUG: For in-source version do not use a custom command output and custom target with the same name. This accidentally worked before but with a circular dependency.
2007-06-27 13:22:45 -04:00
Alexander Neundorf
07613ff7f8
COMP: fix tests where the building cmake doesn't have GET_TEST_PROPERTY
...
Alex
2007-06-27 08:43:06 -04:00
Alexander Neundorf
ae47302529
ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since this
...
doesn't support C++ and also doesn't have a printf() implementation by
default
-add a test for mingw cross compiler
Alex
2007-06-26 15:30:02 -04:00
Alexander Neundorf
25a425ecf0
ENH:
2007-06-26 15:15:52 -04:00
Ken Martin
509f1fb9cb
ENH: some property cleanup and added GetProperty
2007-06-25 09:51:37 -04:00
Alexander Neundorf
7f1fbe4e4c
STYLE: add some more output, so it is easier to understand
...
Alex
2007-06-21 14:06:52 -04:00
Alexander Neundorf
9a696669dc
COMP: big timeout for building kdelibs
...
Alex
2007-06-15 08:42:34 -04:00
Alexander Neundorf
53e5cf3a38
ENH: add test for buildingn kdelibs alpha1 ( http://websvn.kde.org/tags/KDE/3.90.1 ) with cmake
...
requires Qt >= 4.3.0, DBus, kdesupport (http://websvn.kde.org/trunk/kdesupport/ )
and the EasyDashboard scripts.
Alex
2007-06-14 13:55:23 -04:00
Alexander Neundorf
7203990661
COMP: removing the directory at the beginning breaks the test for in-source
...
builds
Alex
2007-06-14 08:33:21 -04:00
Alexander Neundorf
92270d5bf8
COMP: fix test, in some cases stdout from bar was not captured correctly,
...
probably because the process was killed before the fflush() worked because
the busy loop blocked the processor (failing midworld test)
Alex
2007-06-13 16:26:50 -04:00
Bill Hoffman
227b942584
ENH: remove test
2007-06-11 17:15:00 -04:00
Bill Hoffman
23ef759b40
ENH: add ConvLib test back for some time
2007-06-11 15:00:23 -04:00
Brad King
0f4ad19ef8
ENH: Re-arranged code to test adding a custom command to generate a source file after the file has been added to a target. This is supported by the current implementation because of the use of source lists in the target implementation. When we later convert to creating cmSourceFile instances immediately for the target we need to make sure the mentioned case still works.
2007-06-11 13:22:17 -04:00
Brad King
db0f26e852
BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test.
2007-06-06 16:20:02 -04:00
Bill Hoffman
c8067b3904
ENH: fix it
2007-06-06 13:43:46 -04:00
Bill Hoffman
b4f4a06102
ENH: use lower case for file compare on windows
2007-06-06 13:32:01 -04:00
Bill Hoffman
61ccdc4e92
ENH: add missing file
2007-06-04 17:18:31 -04:00
Bill Hoffman
64a8eb990a
ENH: add one of the headers to the regular sources
2007-06-04 15:28:05 -04:00
Alexander Neundorf
eddf1cf39f
ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now
...
creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT
(if required), which can be set or preset by the user. It has now also two
new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old
OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the
run time output of the TRY_RUN is unused and the user doesn't have to care
about the output when crosscompiling. This is now used in FindThreads.cmake,
CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output
only for the logfile (compile output is still there). Test/TryCompile/ now
also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and
COMPILE_OUTPUT_VARIABLE.
Alex
2007-06-01 11:16:29 -04:00
Ken Martin
2f07e8e8f8
ENH: added new test for SourceFile objects and properties
2007-05-31 10:29:13 -04:00
Alexander Neundorf
eed7c8dec1
ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX() variables,
...
so when cross compiling the build host platform can be tested
Alex
2007-05-29 11:36:07 -04:00
Brad King
06472d620a
ENH: Added more install rules to increase coverage of the command.
2007-05-28 11:41:29 -04:00
Alexander Neundorf
f4eb541880
ENH: make the compiler id detection work, even if the output file name of
...
the compiler is completely unknown and even if it produces intel hex or
motorola s-record files, with test
Alex
2007-05-25 15:22:22 -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
Alexander Neundorf
7147c3e1cc
ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can
...
be used e.g. for getting strings out of it.
Alex
2007-05-24 12:06:59 -04:00
Alexander Neundorf
7d7aba292c
ENH: add two simple tests for TRY_RUN()
...
STYLE: create a new base class cmCoreTryCompile, from which
cmTryCompileCommand and cmTryRunCommand are derived, so there are no public
static functions with lots of arguments anymore
Alex
2007-05-24 11:27:51 -04:00
Brad King
6a145fb2be
BUG: Report proper error message when project does not build the first time. Also added hack to rebuild subproject several times for Xcode. The generator should be fixed and the hack removed.
2007-05-23 17:58:14 -04:00
Brad King
c3474ad029
ENH: Executable bar should rebuild when its generated header changes. It does not need to link to the foo library anymore.
2007-05-23 17:01:26 -04:00
Brad King
303b4312b2
BUG: Target names in the COMMAND part of a custom command should not create a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
2007-05-23 13:30:23 -04:00
Brad King
c288da754a
BUG: Target names in the COMMAND part of a custom command should not create a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
2007-05-23 13:27:00 -04:00
Alexander Neundorf
3b4aa3bf35
BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix the mingw fortran test
...
-also generate the fortran test with the kdevelop generator
Alex
2007-05-21 10:15:42 -04:00
Brad King
7416d0d67d
BUG: Fix name of project to build for LoadCommandOneConfig now that it has been renamed for new name of LoadCommand test.
2007-05-20 10:11:48 -04:00
Brad King
5e45ca6fbf
BUG: Finish fixing test for new name.
2007-05-19 10:15:24 -04:00
Bill Hoffman
e2ea9391e6
BUG: fix project name for test
2007-05-19 10:10:29 -04:00
Ken Martin
df1a77c225
ENH: some cleanup, condensing some tests, removing arguments that were not needed but rather were cut and paste copies etc
2007-05-18 15:11:20 -04:00
Brad King
9bfb3cacbb
BUG: Replace "with space" in custom command argument tests with "w s" to still have whitespace but be shorter. The test was failing because the custom command line length was simply too long for the VS IDE.
2007-05-18 09:33:59 -04:00
Brad King
ea66edaf5e
ENH: Added quick means to turn on verbose output for debugging this test.
2007-05-18 09:18:09 -04:00
Brad King
6f9575690a
ENH: Add testing of * and / character arguments except on MinGW.
2007-05-17 14:32:14 -04:00
Brad King
ad0df37f62
ENH: Added test for custom command lines with special single-character arguments.
2007-05-17 14:03:31 -04:00