summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Flip slashes around on WindowsBen Boeckel2010-12-171-0/+7
|
* Add ctype.h include for toupper()Ben Boeckel2010-12-171-0/+1
|
* Fix header includes for C++ and Visual StudioBen Boeckel2010-12-171-2/+3
|
* Rename the project to match the testBen Boeckel2010-12-161-1/+1
|
* Add tests for WORKING_DIRECTORY arg to add_testBen Boeckel2010-12-161-0/+21
|
* Rename WorkingDirectory testBen Boeckel2010-12-163-6/+6
|
* Add the WORKING_DIRECTORY property to testsRolf Eike Beer2010-12-163-0/+98
|
* Merge topic 'custom-command-slashes'Brad King2010-12-161-1/+1
|\ | | | | | | | | a75a0a1 Normalize add_custom_command OUTPUT names (#10485)
| * Normalize add_custom_command OUTPUT names (#10485)Brad King2010-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Previously the OUTPUT arguments of add_custom_command were not slash-normalized but those of add_library and add_executable were. This caused the example add_custom_command(OUTPUT a//b.c ...) add_library(... a//b.c ...) to fail at build time with "no rule to make a/b.c". Fix this and modify the CustomCommand test to try it.
* | Merge topic 'NAG-Fortran'Brad King2010-12-161-1/+8
|\ \ | |/ |/| | | | | | | | | | | | | 09d1c10 FortranCInterface: Recognize NAG Fortran module symbols af2ad90 Add NAG Fortran compiler information files 24cc3d4 Recognize the NAG Fortran compiler 83892c4 Allow Fortran platform files to set empty values fe3f878 Detect object files in implicit link information
| * Detect object files in implicit link informationBrad King2010-12-091-1/+8
| | | | | | | | | | | | The NAG Fortran compiler implicitly passes object files by full path to the linker. Teach CMakeParseImplicitLinkInfo to parse object files that match some tool-specific regular expression.
* | Merge topic 'dev/support-substring-negative-indices'Brad King2010-12-141-0/+24
|\ \ | | | | | | | | | | | | 36cb701 allow STRING(SUBSTRING) work with length -1 as "rest of the string"
| * | allow STRING(SUBSTRING) work with length -1 as "rest of the string"Rolf Eike Beer2010-12-081-0/+24
| | | | | | | | | | | | This fixes the first half of bug 10740.
* | | Merge topic 'custom-command-depend'Brad King2010-12-141-4/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | ced1d5e Skip file-level dependencies on custom targets (#11332) e30a775 Improve signature of cmLocalGenerator::GetRealDependency
| * | | Skip file-level dependencies on custom targets (#11332)Brad King2010-12-081-4/+1
| |/ / | | | | | | | | | | | | | | | | | | A custom command may name a target created by add_custom_target in its DEPENDS field. Treat this case as a target-level dependency only since a custom target provides no standard file on which to add a file-level dependency.
* | | Honor custom command dependencies on imported targets (#10395)Brad King2010-12-081-5/+45
|/ / | | | | | | | | | | | | Imported targets do not themselves build, but we can follow dependencies through them to find real targets. This allows imported targets to depend on custom targets that provide the underlying files at build time.
* | Allow add_dependencies() on imported targets (#10395)Brad King2010-11-192-1/+17
| | | | | | | | | | | | | | Imported targets do not themselves build, but we can follow dependencies through them to find real targets. This allows imported targets to depend on custom targets that provide the underlying files at build time.
* | Honor FOLDER on include_external_msproject targets (#11436)David Cole2010-11-101-0/+8
| | | | | | | | | | | | | | Add FOLDER property usage to the VSExternalInclude test and inspect results manually to verify behavior. Thanks to Jens Auer for the bug report.
* | Merge topic 'add-cse-contract-test'David Cole2010-11-096-2/+256
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | f6f3ae5 Update tag in the Contracts/cse-snapshot test. 1e4fd5f Enable overriding contract test timeout values. c81ad34 Add a contract test for building the CSE. 942ace8 Fix contract test so it is not hard coded to the vtk542 test. fd343a1 Add a "Contract" test for VTK. The test downloads and builds VTK.
| * | Update tag in the Contracts/cse-snapshot test.David Cole2010-10-281-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | Also: - allow local variables 'repo' and 'tag' to be overridden by the optional LocalOverrides.cmake - print out STATUS messages to see the variable values in CMake configure output
| * | Enable overriding contract test timeout values.David Cole2010-10-221-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a longer value as the default timeout (6 hours). For a per-contract-test timeout value, set ${project}_TEST_TIMEOUT in the project's RunTest.cmake file. To use a longer value for all non-specific contract tests, set a CMake cache variable named CMAKE_CONTRACT_TEST_TIMEOUT_DEFAULT. All timeout values are in seconds. Also, patch up last commit to defer evaluation of ENV{HOME} until EnforceConfig.cmake is included at ctest time. This allows Windows machines to have "\\" characters in the HOME environment variable if they want to.
| * | Add a contract test for building the CSE.David Cole2010-10-084-1/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To activate the CSE contract test on a given Linux machine's CMake dashboard, put CMAKE_CONTRACT_PROJECTS:STRING=cse-snapshot in the CMake dashboard's initial cache. The chosen snapshot does not generate subproject dependency info right now. That code was in a previous revision in the CSE's svn repo that apparently has not been merged into the present cse git repository master branch. After that is fixed up in the cse repo, we can update the tag here so that the snapshot built here can run a sub-project based dashboard script. For now, it runs as one big build step, building 'all'.
| * | Fix contract test so it is not hard coded to the vtk542 test.Bill Hoffman2010-09-212-1/+10
| | |
| * | Add a "Contract" test for VTK. The test downloads and builds VTK.Bill Hoffman2010-09-212-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | The idea is that we can make sure that CMake is staying backwards compatible by testing projects against CMake as the changes are made in CMake. Because these tests will take a long time to run, they will not be enabled by default. Instead, they will be enabled by putting a cache variable into CMake.
* | | Define LINK_DEPENDS target property (#11406)Brad King2010-11-053-0/+32
| |/ |/| | | | | | | Custom Makefile link rules may need to depend on linker scripts. Define this property to allow user-specified link-time dependencies.
* | Merge topic 'getprerequisites-endless-path-appending'David Cole2010-10-281-4/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 48e80eb Fixes to GetPrerequisites for cygwin bee4802 Append the gp_tool path to the system PATH using native slashes. 8e550ba Remove unecessary TO_CMAKE_PATH for gp_cmd_dir. 1684198 Switch to CMAKE_PATH when doing PATH comparisons on Windows. be94c49 Fixed appending PATH to dumpbin tool from growing without bounds.
| * | Fixes to GetPrerequisites for cygwinDavid Partyka2010-10-271-4/+4
| | | | | | | | | | | | Fix IF(WIN32) guards check for cygwin. Fix checking if the depenency is in a system location to use cygwin style paths on cygwin. Also change GetPrerequisites to switch gp_tool to tools that are very unlikely to be found, ie. dumpbin on Apple and otool on Windows/Unix.
| * | Fixed appending PATH to dumpbin tool from growing without bounds.David Partyka2010-10-251-0/+14
| | | | | | | | | | | | IF(... MATCHES ...) used for comparing directories chokes especially in the case of C:\Program Files (x86)\<blah> because of regex pattern matching. Switched this to use STREQUAL in a loop instead.
* | | Avoid problem reading jni.h on Macs.David Cole2010-10-251-2/+10
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apple released an update recently in which there was a broken symlink for jni.h that pointed to a non-existent file. CMake had trouble configuring because it encountered an error trying to read jni.h. We avoid the problem here by introducing a variable CTEST_RUN_Java, which defaults to OFF on Macs, that indicates whether to even attempt finding java, reading jni.h and adding the "Java" CMake test. If you would like to test Java on a Mac where the jni.h symlink is not busted, feel free to pass in -DCTEST_RUN_Java:BOOL=ON when configuring CMake.
* | Merge topic 'AddCMAKE_CURRENT_LIST_DIR'David Cole2010-10-191-0/+4
|\ \ | | | | | | | | | | | | | | | | | | b011840 Use absolute path to FindPackageHandleStandardArgs.cmake everywhere 41e4f1a Add automatic variable CMAKE_CURRENT_LIST_DIR(dir of CMAKE_CURRENT_LIST_FILE) f9fc79c Remove trailing whitespace
| * | Add automatic variable CMAKE_CURRENT_LIST_DIR(dir of CMAKE_CURRENT_LIST_FILE)Alex Neundorf2010-09-281-0/+4
| | | | | | | | | | | | | | | | | | Comes with a simple test and docs. Alex
* | | Merge topic 'vs-project-groups'Brad King2010-10-051-0/+16
|\ \ \ | | | | | | | | | | | | | | | | fd3249e New USE_FOLDERS property OFF by default. (#3796)
| * | | New USE_FOLDERS property OFF by default. (#3796)David Cole2010-10-021-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio Express editions do not support solution folders, so default behavior should be as if USE_FOLDERS global property is OFF. Also, allow folder names to be the same as target names: internally, use a prefix to distinguish folder GUIDs from target GUIDs. Add a target and folder with the same name in the ExternalProject test to exercise this code. For CMake itself, provide a new option CMAKE_USE_FOLDERS that defaults to ON so that Visual Studio users get a nicely organized CMake project. Express edition users will have to turn off the CMAKE_USE_FOLDERS option in order to build CMake in the VS Express IDE.
* | | | Merge topic 'dev/test-for-bug-11230'Brad King2010-10-054-0/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 96a335f XCode generation should fail if lang isn't known d3a8943 Fix which string is checked for in the test 220c5dc Add test that CMake errors with empty libs
| * | | | Fix which string is checked for in the testBen Boeckel2010-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | GNU Makefiles have an extra line that Visual Studio doesn't output.
| * | | | Add test that CMake errors with empty libsBen Boeckel2010-09-304-0/+9
| | |/ / | |/| | | | | | | | | | | | | | When the library language cannot be determined, make sure CMake errors, not segfaults (bug #11230)
* | | | Add a new line to the end of the generated main.cxx for the hpux compiler.Bill Hoffman2010-09-291-1/+2
|/ / / | | | | | | | | | Some HPUX compilers give this error: Error 690: "/home/cport/Dashboards/My Tests/CMake-build/Tests/CheckCompilerRelatedVariables/main.cxx", line 1 # Nonempty source files must end with a newline that is not preceded by a backslash.
* | | Merge topic 'fix-9963'Brad King2010-09-211-6/+18
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | a798bb7 Avoid CustomCommand test failure on VS71 (#9963) 9b4ab06 Avoid CustomCommand test failure on VS71 (#9963) 9d2e648 No extra spaces in CustomCommand test (#9963) 269a4b8 Enable calling commands with : in argv[1] (#9963)
| * | Avoid CustomCommand test failure on VS71 (#9963)David Cole2010-09-201-1/+5
| | | | | | | | | | | | | | | | | | | | | Test still failing on dash1.kitware. Give up on testing the new arg on MSVC71. Test it with newer nmakes instead. All other dashboards are fine with -DPATH=c:/posix/path as the first arg, so keep it except when MSVC71 is true.
| * | Avoid CustomCommand test failure on VS71 (#9963)David Cole2010-09-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new first arg in the test is the critical one to prove that the new NMake specific code works. The additional colons in the middle of the arg stream work fine everywhere else, but not on dash1.kitware with Visual Studio 7.1. Just avoid the failure for now by removing the unnecessary new args from the test.
| * | No extra spaces in CustomCommand test (#9963)David Cole2010-09-122-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nightly dashboard showed that the following platforms had difficulties dealing with "bin dir" and/or "check command line" as directory and file names: AIX Borland 5.5, 5.6 and 5.8 IRIX NMake 6.0 OpenBSD VS 7.1 Watcom Re-visit later, after the release, to use spaces in the bin dir and in the target name where possible.
| * | Enable calling commands with : in argv[1] (#9963)David Cole2010-09-102-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The solution seems hackish, but it works: for NMake only, prepend a no-op command before each real command that begins with ". This is really a work-around for an NMake problem. When a command begins with ", nmake truncates the first argument to the command after the first : in that arg. It has a parsing problem. Workaround..., hackish..., but it should solve the issue for #9963 and its related friends. Also, modify the CustomCommand test to replicate the problem reported in issue #9963. Before the NMake specific code change, the test failed. Now, it passes. Ahhhhhh.
* | | Merge topic ↵Brad King2010-09-142-2/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'resolve/fix_target_name_with_dot_vs10/allow_upper_case_cpp_and_others' eccc7d5 Merge branch 'allow_upper_case_cpp_and_others' into resolve/fix_target_name_with_dot_vs10/allow_upper_case_cpp_and_others ed37fc3 VS2010: Set IntDir for utility and global targets. e79e412 VS2010: Honor PROJECT_LABEL target property (#10611) 530ade6 Fix targets with . in the name for VS 10 IDE.
| * \ \ Merge branch 'allow_upper_case_cpp_and_others' into ↵Brad King2010-09-142-1/+8
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resolve/fix_target_name_with_dot_vs10/allow_upper_case_cpp_and_others Conflicts: Tests/CxxOnly/CMakeLists.txt
| * | | | VS2010: Honor PROJECT_LABEL target property (#10611)David Cole2010-09-091-0/+8
| | | | |
| * | | | Fix targets with . in the name for VS 10 IDE.Bill Hoffman2010-09-061-2/+2
| | | | |
* | | | | Merge topic 'improve-missing-source-file-error'Brad King2010-09-142-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a6b5ead Report missing source files with context of target
| * | | | | Report missing source files with context of targetBrad King2010-09-132-0/+6
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Previously we reported only the CMakeLists.txt file in the directory that adds the target.
* | | | | Use QUIET to avoid Java status messages.David Cole2010-09-091-1/+1
|/ / / / | | | | | | | | | | | | CMake devs mostly do not care when Java is found successfully.
* | | | Merge topic 'allow_upper_case_cpp_and_others'Brad King2010-09-083-1/+11
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 7944e4e Allow testing of .CPP on WIN32 as it is a case insensitive OS and should work. ba0a890 Only test for .CPP on Microsoft compilers which will handle .CPP as c++. d26cd46 Only use .CPP .CXX and .C++ do not work by default with g+++. ced61f5 Let CMake recognize .CPP .CXX and .C++ as c++ files.