CMake/Tests
Brad King 061d20be38 ENH: Add UNKNOWN type for IMPORTED libraries
When creating an IMPORTED target for a library that has been found on
disk, it may not be known whether the library is STATIC or SHARED.
However, the library may still be linked using the file found from disk.
Use of an IMPORTED target is still important to allow per-configuration
files to be specified for the library.

This change creates an UNKNOWN type for IMPORTED library targets.  The
IMPORTED_LOCATION property (and its per-config equivalents) specifies
the location of the library.  CMake makes no assumptions about the
library that cannot be inferred from the file on disk.  This will help
projects and find-modules import targets found on disk or specified by
the user.
2008-08-18 11:39:22 -04:00
..
Assembler ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
BuildDepends ENH: Update BuildDepends test to check #include lines with macros. 2008-05-14 11:55:12 -04:00
BundleGeneratorTest ENH: Add test for the new CPack BundleGenerator. Thanks to Tim Shead for the patch. See issue #7170 for more details. 2008-07-30 16:36:22 -04:00
BundleTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CMakeTests ENH: Add test for new find_* command HINTS option. 2008-06-09 15:09:14 -04:00
COnly ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CPackComponents ENH: Use new cpack_add_component macro (and friends) from the CPackComponents test. Thanks again to Doug Gregor! 2008-07-08 17:47:53 -04:00
CTestTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CTestTest2 ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CTestTest3 ENH: do not use svn until it is working again 2006-12-12 11:06:38 -05:00
CommandLineTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Complex ENH: Add cmake_policy(GET) command mode 2008-08-18 09:53:06 -04:00
ComplexOneConfig ENH: Add cmake_policy(GET) command mode 2008-08-18 09:53:06 -04:00
ComplexRelativePaths ENH: Add cmake_policy(GET) command mode 2008-08-18 09:53:06 -04:00
ConvLibrary ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CustComDepend ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CustomCommand ENH: Test relative path custom command output 2008-08-05 13:27:14 -04:00
CustomCommandWorkingDirectory ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CxxOnly ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
Dependency ENH: Test fake circular dependency case 2008-08-07 10:13:15 -04:00
DocTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
ExportImport ENH: Make link interface mode more distinct 2008-08-18 10:11:29 -04:00
ExternalOBJ BUG: make test more robust 2008-03-25 14:37:12 -04:00
FindModulesExecuteAll ENH: add a project name 2008-06-16 20:05:46 -04:00
FindPackageTest ENH: Add test for new find_* command HINTS option. 2008-06-09 15:09:14 -04:00
Fortran BUG: Fix Fortran test to use more portable comment syntax in fixed format source. 2008-03-28 14:04:52 -04:00
Framework BUG: A per-config target name postfix should be ignored for Mac bundle and framework names. 2008-04-14 15:27:27 -04:00
FunctionTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Java ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Jump ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
LibName BUG: better fix for .dll.lib problem 2006-11-30 17:32:46 -05:00
LinkLine 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
LinkLineOrder ENH: remove warnings in tests 2004-05-02 11:50:14 -04:00
LoadCommand ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
LoadCommandOneConfig ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
MacroTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
MakeClean ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
MathTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
NewlineArgs ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
ObjC++ ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
OutOfBinary BUG: Fixed out-of-source subdirectories to work when they are also out-of-binary. Updated the OutOfSource test to test this feature. 2006-10-09 21:25:58 -04:00
OutOfSource ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Plugin ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
PreOrder ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
PrecompiledHeader ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Preprocess 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
Properties ENH: support unset of properties 2008-04-01 14:22:09 -04:00
ReturnTest STYLE: extend documentation for RETURN() a bit 2008-08-16 18:06:17 -04:00
RuntimePath ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SameName ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SetLang ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Simple ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
SimpleCOnly ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since this 2007-06-26 15:30:02 -04:00
SimpleExclude ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SimpleInstall ENH: Add UNKNOWN type for IMPORTED libraries 2008-08-18 11:39:22 -04:00
SimpleInstallS2 ENH: Add UNKNOWN type for IMPORTED libraries 2008-08-18 11:39:22 -04:00
SourceGroups ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
StringFileTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SubDir ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SubDirSpaces ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SubProject ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SwigTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SystemInformation ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
TarTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
TargetName ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
TestDriver ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Testing ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
TryCompile ENH: remove test that does not work on all compilers 2008-07-16 09:29:56 -04:00
Tutorial ENH: use a common CPACK_BINARY_ prefix for the binary package generators 2008-04-17 17:23:21 -04:00
UseWX ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
VSExternalInclude ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Wrapping ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
X11 ENH: add a simple x11 test for packaging 2008-04-11 10:23:27 -04:00
.NoDartCoverage clean up coverage some 2002-12-03 11:21:12 -05:00
CMakeLists.txt BUG: fix endif() 2008-08-06 17:43:34 -04:00
TestInstall.sh.in ENH: Added Install test. It is enabled when the CMAKE_INSTALL_PREFIX is CMake_BINARY_DIR/InstallTest. 2003-08-06 10:39:05 -04:00