summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable
Commit message (Collapse)AuthorAgeFilesLines
* Drop compatibility with CMake < 2.4Brad King2013-10-232-4/+3
| | | | | | | | | | | | Drop all behavior activated by setting CMAKE_BACKWARDS_COMPATIBILITY to a value lower than 2.4, and generate an error when projects or the user attempt to do so. In the error suggest using a CMake 2.8.x release. Teach cmake_minimum_required to warn about projects that do not require at least CMake 2.4. They are not supported by CMake >= 3.0. Replace the documentation of CMAKE_BACKWARDS_COMPATIBILITY with a reference to policy CMP0001.
* get_filename_component: Add explicit unit testsBrad King2013-04-161-80/+0
| | | | | Add test RunCMake.get_filename_component to cover cases of the command. Remove redundant coverage of these cases from the "complex" tests.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-14/+14
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-133-85/+85
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-134-71/+71
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* complex: Remove unused option to test CMakeLibBrad King2011-12-232-31/+0
| | | | | Now that the Complex tests do not depend on cmSystemTools or other classes from CMakeLib the COMPLEX_TEST_CMAKELIB option is useless.
* complex: Remove test dependence on cmSystemToolsBrad King2011-12-231-12/+12
| | | | Use C standard 'remove' and POSIX standard 'stat'.
* complex: Move cmSystemTools::UpperCase test to CMakeLibTestsBrad King2011-12-231-14/+0
| | | | | This test belongs in the CMakeLibTests test driver executable which correctly links to CMakeLib.
* complex: Simplify test for single-character exe nameBrad King2011-12-233-37/+13
| | | | | Run the test executable as a custom command instead of depending on cmSystemTools::RunSingleCommand.
* complex: Move GeneratedFileStream test to CMakeLibTestsBrad King2011-12-232-88/+1
| | | | | | This test belongs in the CMakeLibTests test driver executable which correctly links to CMakeLib. Fix incorrect library link order in the Complex tests exposed by this change.
* complex: Remove dynamic loader testsBrad King2011-12-231-61/+1
| | | | | Everything covered by these tests is now covered by the KWSys DynamicLoader test and the Plugin test.
* complex: Sync Tests/ComplexOneConfig with Tests/ComplexBrad King2011-12-232-1/+9
| | | | | | The two test sources must remain identical. Apply to ComplexOneConfig the change that commit f578381e (Fix vs2010 project generation error when HEADER_FILE_ONLY is set, 2010-12-20) made to Complex.
* complex: Remove ancient unused ComplexRelativePaths testBrad King2011-12-231-4/+2
|
* Switch to using libarchive from libtar for cpack and cmake -E tarBill Hoffman2009-10-301-2/+5
| | | | | | This allows for a built in bzip and zip capability, so external tools will not be needed for these packagers. The cmake -E tar xf should be able to handle all compression types now as well.
* ENH: Remove CMAKE_ANSI_CFLAGS from testsBrad King2009-07-081-1/+0
| | | | | As of CMake 2.6 this variable is not defined, and the ANSI flags for the HP compiler are simply hard-coded in the default C flags.
* ENH: make this test pass if new curl is onBill Hoffman2008-11-211-1/+1
|
* ENH: only link in curl directories that exist, this will help with vs6 nmakeBill Hoffman2008-11-201-3/+6
|
* ENH: make it work if new curl is onBill Hoffman2008-11-191-4/+3
|
* ENH: make it work if new curl is onBill Hoffman2008-11-181-1/+5
|
* ENH: Add if(TARGET) commandBrad King2008-08-201-0/+17
| | | | | | | | | | 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: support parenthesis as arguments and in conditionals feature request #6191Ken Martin2008-06-261-0/+6
|
* ENH: complex must link to curl nowBill Hoffman2008-02-071-1/+2
|
* ENH: Implement linking with paths to library files instead of -L and -l ↵Brad King2008-01-221-115/+3
| | | | | | | | | | | | | | | | | 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.
* ENH: Make per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property ↵Brad King2008-01-181-1/+5
| | | | initialized from parent.
* ENH: Adding test for using HEADER_FILE_ONLY to avoid building a .cxx file.Brad King2007-11-192-1/+6
|
* ENH: fix leakBill Hoffman2007-08-211-0/+1
|
* BUG: Disable test of feature that is not documented or implemented everywhere.Brad King2007-05-162-1/+4
|
* BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro ↵Brad King2007-05-092-1/+15
| | | | definitions properly. This addresses bug#4983.
* ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, ↵Brad King2007-03-121-2/+7
| | | | LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210.
* ENH: Added smoke test for user-value flag mapping for VS IDE.Brad King2007-02-011-0/+6
|
* COMP: Fixed typo: CMAKE_TEST_CMAKELIB -> COMPLEX_TEST_CMAKELIB.Brad King2006-10-221-5/+5
|
* ENH: Added explicit name for option to test CMakeLib. Added option to ↵Brad King2006-10-192-9/+9
| | | | disable testing of CMakeLib if system utility libraries are used until linking made easier.
* BUG: Fix link flags on cygwin shared libraries. This requires that the ↵Brad King2006-10-051-1/+1
| | | | shared library prefix be supported in the link library regex.
* BUG: Run testSystemDir test only if -isystem flag is available.Brad King2006-10-051-2/+2
|
* ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses ↵Brad King2006-10-052-0/+8
| | | | bug #3462.
* ENH: Renamed NOT_IN_ALL to EXCLUDE_FROM_ALL.Brad King2006-10-021-1/+1
|
* ENH: Added NOT_IN_ALL option for ADD_LIBRARY and ADD_EXECUTABLE to avoid ↵Brad King2006-10-022-0/+18
| | | | building the targets by default.
* ENH: added test for elseifKen Martin2006-09-221-0/+6
|
* ENH: Added test for linking to a static library that is next to a shared ↵Brad King2006-09-152-1/+24
| | | | library. See bug#1644 for related changes.
* BUG: Make sure sources with unknown extensions are not compiled by VS.Brad King2006-08-032-1/+2
|
* ENH: Adding test for source files and header files with the same base name ↵Brad King2006-08-014-2/+11
| | | | in the same target.
* BUG: Fix REMOVE_DEFINITIONS command to not remove substrings.Brad King2006-05-232-0/+20
|
* ENH: remove duplicate file name test because it fails on xcodeBill Hoffman2006-04-172-2/+6
|
* ENH: allow multiple files with the same name in different sub dirs testBill Hoffman2006-04-174-2/+23
|
* BUG: Fixed cmOrderLinkDirectories to make sure cmake-built libraries are ↵Brad King2006-04-041-1/+3
| | | | found properly. Also taking libraries that will be built but may not yet exist into account. The per-configuration subdirectories that are included by generators in the link path are checked for conflicting libraries also. Potentially conflicting libraries that are actually symlinks back to the desired library are no longer considered conflicting, which avoids bogus impossible ordering warnings.
* ENH: change library order to use a vectorBill Hoffman2006-04-041-0/+4
|
* ENH: added testing for new featuresKen Martin2006-03-223-0/+57
|
* BUG: Removed compiled-in CMAKE_SHARED_MODULE_PREFIX and ↵Brad King2006-03-161-2/+2
| | | | CMAKE_SHARED_MODULE_SUFFIX for loaded commands in favor of using the settings from the platform files.
* ENH: Cleanup DynamicLoader so that the symbols have more consistent names, ↵Andy Cedilnik2006-03-161-4/+5
| | | | start using dynamic loader from kwsys in CMake
* BUG: Avoid case problems on windows.Brad King2006-02-091-0/+9
|