summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Use string(APPEND) in TestsDaniel Pfeifer2016-07-271-2/+2
| | | | | | | Automate with: find Tests -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* Xcode: Disable test for system include dirsGregor Jasny2016-02-081-1/+2
|
* Tests: Remove incorrect indentation from Complex test commentBrad King2015-01-221-1/+1
|
* Encoding: Modify tests to work using non-ascii paths.Clinton Stimpson2015-01-091-5/+9
| | | | | | | | | | For complex*, CustomCommand and OutDir tests, non-ascii paths are avoided in test code by using relative paths, and setting the working when running the test. This also avoids the need to internationalize the test code. For RunCMake.GeneratorExpression, use a UTF-8 encoding in file(STRINGS) to retrieve the compiled absolute path correctly.
* Drop compatibility with CMake < 2.4Brad King2013-10-231-1/+0
| | | | | | | | | | | | 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.
* 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-131-83/+83
| | | | | | | | | | | | | | | | | 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-131-2/+2
| | | | | | | | | | | | | | | | | 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-231-22/+0
| | | | | Now that the Complex tests do not depend on cmSystemTools or other classes from CMakeLib the COMPLEX_TEST_CMAKELIB option is useless.
* complex: Simplify test for single-character exe nameBrad King2011-12-231-1/+3
| | | | | Run the test executable as a custom command instead of depending on cmSystemTools::RunSingleCommand.
* complex: Move GeneratedFileStream test to CMakeLibTestsBrad King2011-12-231-1/+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: Sync Tests/ComplexOneConfig with Tests/ComplexBrad King2011-12-231-1/+8
| | | | | | 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.
* 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: complex must link to curl nowBill Hoffman2008-02-071-1/+2
|
* ENH: Adding test for using HEADER_FILE_ONLY to avoid building a .cxx file.Brad King2007-11-191-1/+5
|
* BUG: Disable test of feature that is not documented or implemented everywhere.Brad King2007-05-161-1/+2
|
* BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro ↵Brad King2007-05-091-1/+2
| | | | definitions properly. This addresses bug#4983.
* ENH: Added smoke test for user-value flag mapping for VS IDE.Brad King2007-02-011-0/+6
|
* ENH: Added explicit name for option to test CMakeLib. Added option to ↵Brad King2006-10-191-4/+4
| | | | disable testing of CMakeLib if system utility libraries are used until linking made easier.
* 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-051-0/+5
| | | | 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-021-0/+8
| | | | building the targets by default.
* ENH: Added test for linking to a static library that is next to a shared ↵Brad King2006-09-151-0/+6
| | | | library. See bug#1644 for related changes.
* BUG: Make sure sources with unknown extensions are not compiled by VS.Brad King2006-08-031-1/+1
|
* ENH: Adding test for source files and header files with the same base name ↵Brad King2006-08-011-1/+1
| | | | in the same target.
* BUG: Fix REMOVE_DEFINITIONS command to not remove substrings.Brad King2006-05-231-0/+8
|
* ENH: remove duplicate file name test because it fails on xcodeBill Hoffman2006-04-171-2/+2
|
* ENH: allow multiple files with the same name in different sub dirs testBill Hoffman2006-04-171-1/+2
|
* ENH: added testing for new featuresKen Martin2006-03-221-0/+19
|
* ENH: add COMPILE_FLAGS to targetsBill Hoffman2006-01-251-1/+1
|
* ENH: more fixes for watcomBill Hoffman2006-01-171-7/+10
|
* ENH: add support for watcom wmake and wcl386Bill Hoffman2006-01-171-1/+4
|
* BUG: Now really fix the testAndy Cedilnik2005-12-291-1/+1
|
* COMP: Fix testAndy Cedilnik2005-12-291-0/+1
|
* COMP: Fix complex test and fix bootstrapAndy Cedilnik2005-12-281-1/+1
|
* ENH: make sure CMAKE_C_FLAGS are not clobberedBill Hoffman2005-08-011-1/+1
|
* ENH: use ansi flagsBill Hoffman2005-08-011-0/+1
|
* ENH: add new test to make sure c and cxx flags are going to the right filesBill Hoffman2005-07-291-1/+2
|
* ENH: shift to using ADD_SUBDIRECTORYKen Martin2005-06-081-1/+1
|
* ENH: fix library ordering stuff to use a topological sortBill Hoffman2005-03-021-0/+6
|
* ENH: Added full pre-build/pre-link/post-build testing for both library and ↵Brad King2005-02-251-0/+16
| | | | executable targets.
* ENH: Link to cmzlibAndy Cedilnik2005-01-271-1/+2
|
* COMP: Add proper link directoryAndy Cedilnik2005-01-181-0/+1
|