ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210.

This commit is contained in:
Brad King
2007-03-12 10:23:06 -04:00
parent c03217d560
commit cf7eeab37a
11 changed files with 45 additions and 33 deletions

View File

@@ -320,12 +320,17 @@ extern "C" int NameConflictTest2();
int main()
{
std::string lib = BINARY_DIR;
lib += "/bin/";
lib += "/lib/";
#ifdef CMAKE_INTDIR
lib += CMAKE_INTDIR;
lib += "/";
#endif
std::string exe = lib;
std::string exe = BINARY_DIR;
exe += "/bin/";
#ifdef CMAKE_INTDIR
exe += CMAKE_INTDIR;
exe += "/";
#endif
#ifdef COMPLEX_TEST_CMAKELIB
// Test a single character executable to test a: in makefiles