summaryrefslogtreecommitdiffstats
path: root/Tests/Complex/Library
Commit message (Collapse)AuthorAgeFilesLines
* Haiku: Several fixes to platform moduleAdrien Destugues2013-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Do not define BEOS anymore (this includes workarounds which we don't need most of the time in Haiku, so we prefer opt-in IF(HAIKU) in the cmake files instead). * On the other hand, do define UNIX (we are trying to be compliant) and HAIKU (there is still a number of things we don't do like the average UNIX clone) * Do not use UnixPaths, as our filesystem hierarchy isn't anything like what it expects. * Do not use -nostart, which the compiler doesn't know about anymore. This used to be an Haiku extension to gcc, and is equivalent to -shared which is the default gcc option. * While "dl" functions are provided in libroot, this is always implicitly linked so there is no need to tell cmake about it. * Forcing position-independent code is not needed, so remove it. * On the other hand, include appropriate linker options for executables and shared libraries. * Support for the two available compilers in Haiku (gcc2 and gcc4) and pick the right headers and libraries according to the currently selected one. * With the adoption of the package manager, the directory layout was changed. Tell cmake where to look for header files and libraries. * As we don't define BEOS anymore, enable the workaround we still need for HAIKU as well. This is the lack of a libm (it is part of the implicitly linked in libroot) Applied-by: Rolf Eike Beer <eike@sf-mail.de>
* Remove CMake-language block-end command argumentsKitware Robot2012-08-132-13/+13
| | | | | | | | | | | | | | | | | 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-132-67/+67
| | | | | | | | | | | | | | | | | 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-13/+13
| | | | | | | | | | | | | | | | | 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 dynamic loader testsBrad King2011-12-233-19/+0
| | | | | Everything covered by these tests is now covered by the KWSys DynamicLoader test and the Plugin test.
* ENH: only 5 failing tests for VS 10Bill Hoffman2009-07-101-2/+2
|
* ENH: Always imply CLEAN_DIRECT_OUTPUT target propBrad King2009-05-011-1/+1
| | | | | | | | | | | | | | This property was left from before CMake always linked using full path library names for targets it builds. In order to safely link with "-lfoo" we needed to avoid having both shared and static libraries in the build tree for targets that switch on BUILD_SHARED_LIBS. This meant cleaning both shared and static names before creating the library, which led to the creation of CLEAN_DIRECT_OUTPUT to disable the behavior. Now that we always link with a full path we do not need to clean old library names left from an alternate setting of BUILD_SHARED_LIBS. This change removes the CLEAN_DIRECT_OUTPUT property and instead uses its behavior always. It removes some complexity from cmTarget internally.
* ENH: Add if(TARGET) commandBrad King2008-08-201-0/+4
| | | | | | | | | | 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: Updated DEFINE_PROPERTY command to be more extendible and more ↵Brad King2008-02-141-2/+5
| | | | consistent with new SET_PROPERTY and GET_PROPERTY signatures.
* ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, ↵Brad King2007-03-121-0/+1
| | | | LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210.
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-0/+2
|
* ENH: merge in changes for beos supportBill Hoffman2006-12-041-1/+3
|
* BUG: Test -isystem without affecting other tests. Made separate ↵Brad King2006-10-051-0/+0
| | | | Library/SystemDir for this purpose.
* ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses ↵Brad King2006-10-051-0/+2
| | | | 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/+8
| | | | building the targets by default.
* ENH: Re-enabling .i rule test on MSYS now that it works.Brad King2006-09-281-5/+0
|
* ENH: Re-enable preprocessing target test but specifically disable it on ↵Brad King2006-09-271-1/+16
| | | | broken platforms.
* BUG: Disable new test_preprocess target until it is fixed on OSX universal ↵Brad King2006-09-241-1/+1
| | | | binaries and mingw.
* ENH: Adding test for running preprocessor rules.Brad King2006-09-232-0/+18
|
* ENH: Added test for linking to a static library that is next to a shared ↵Brad King2006-09-152-0/+15
| | | | library. See bug#1644 for related changes.
* ENH: removed old commandsKen Martin2005-06-021-3/+3
|
* ENH: removed use of ABSTRACT commandKen Martin2005-06-021-3/+1
|
* ENH: Added full pre-build/pre-link/post-build testing for both library and ↵Brad King2005-02-251-9/+14
| | | | executable targets.
* ENH: Remove warningsAndy Cedilnik2004-04-301-0/+1
|
* ENH: Add test for REMOVE_DEFINITIONAndy Cedilnik2004-04-152-0/+6
|
* BUG: remove bundle_loader stuff it did not work with spaces in the path and ↵Bill Hoffman2003-08-281-3/+0
| | | | is not needed for this test
* ENH: remove the -flat_namespace and -undefined suppress hacks fromYves Starreveld2003-08-281-0/+3
| | | | | | ENH: CMAKE_SHARED_MODULE_CREATE_C_FLAGS ENH: and fix the complex example to specify a -bundle loader for the ENH: shared module that it builds.
* ENH: MinGW build now passes all the testsBill Hoffman2003-08-271-6/+8
|
* ENH: add testing for modules and one two config modes for cmaketestBill Hoffman2003-01-153-1/+20
|
* BUG: fix CMAKE_C_FLAGS for visual studio 6, and add a test caseBill Hoffman2003-01-131-2/+0
|
* ENH: add target propertiesBill Hoffman2002-12-201-0/+8
|
* removed all source lists from the system and made them vectors. Also ↵Ken Martin2002-06-271-2/+2
| | | | appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building
* changed CCOMMAND to CMAKEKen Martin2002-06-031-2/+2
|
* fix borland testBill Hoffman2002-05-031-2/+4
|
* Debug optimized cache fixesBill Hoffman2002-05-021-0/+11
|
* ENH: use target as source if source is emptySebastien Barre2002-04-111-4/+2
|
* ENH: add a test to check if more than one post-build command can be ↵Sebastien Barre2002-04-101-0/+7
| | | | attached. it fails right now.
* ENH: only check flag on unixBill Hoffman2002-04-101-0/+2
|
* ENH: check for compile flags and add back c flag to unix generatorBill Hoffman2002-04-091-1/+1
|
* ENH: check for compile flags and add back c flag to unix generatorBill Hoffman2002-04-092-1/+7
|
* correct exports for windowsBill Hoffman2002-04-092-2/+3
|
* c not c++ commentBill Hoffman2002-04-091-1/+1
|
* ENH: use separate vars for creating c++ and c shared libraries and add a ↵Bill Hoffman2002-04-083-0/+20
| | | | test for c libraries
* ENH: fix testsSebastien Barre2002-03-297-49/+1
|
* *** empty log message ***Bill Hoffman2002-03-291-0/+4
|
* make sure ; expansion is done in all commandsBill Hoffman2002-03-293-18/+28
|
* more testsBill Hoffman2002-03-291-2/+31
|
* ENH: add support for per file flagsBill Hoffman2002-03-041-0/+4
|
* ENH: add a test for per file flagsBill Hoffman2002-03-041-1/+2
|