View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000427CMakepublic2003-12-11 15:372004-08-05 10:28
ReporterBill Hoffman 
Assigned ToBill Hoffman 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000427: try compile does not work with a specified target
DescriptionThe TRY_COMPILE command does not accpet the target option correctly.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0000339)
Bill Hoffman (manager)
2003-12-11 15:39

Fixed in main tree:
Checking in Source/cmGlobalGenerator.cxx;
/cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v <-- cmGlobalGenerator.cxx
new revision: 1.43; previous revision: 1.42
done

cmTryCompileCommand.cxx 1.34 and 1.33



(0000411)
Brad King (manager)
2003-12-29 13:41

Fix has been merged to 1.8 branch for 1.8.3 release.
(0001339)
Brad King (manager)
2004-08-05 08:46

This is not fixed yet. Somehow the target that is specified needs to be transformed into its real target name. This must take into account targets from ADD_EXECUTABLE, ADD_LIBRARY, and ADD_CUSTOM_TARGET. Currently it works only for executables.
(0001340)
Brad King (manager)
2004-08-05 10:18

Makefiles should have the canonical target names added for executables and libraries. We do not have to worry about two targets with the same name because MSVC project files have this limitation anyway.

Fixed in CVS version:

Checking in cmGlobalGenerator.cxx;
/cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v <-- cmGlobalGenerator.cxx
new revision: 1.52; previous revision: 1.51
done
Checking in cmLocalUnixMakefileGenerator.cxx;
/cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator.cxx,v <-- cmLocalUnixMakefileGenerator.cxx
new revision: 1.171; previous revision: 1.170
done
(0001341)
Brad King (manager)
2004-08-05 10:28

Fix has been merged to 2.0 branch:

Checking in ChangeLog.manual;
/cvsroot/CMake/CMake/Attic/ChangeLog.manual,v <-- ChangeLog.manual
new revision: 1.1.2.9; previous revision: 1.1.2.8
done
Checking in Source/cmGlobalGenerator.cxx;
/cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v <-- cmGlobalGenerator.cxx
new revision: 1.48.2.3; previous revision: 1.48.2.2
done
Checking in Source/cmLocalUnixMakefileGenerator.cxx;
/cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator.cxx,v <-- cmLocalUnixMakefileGenerator.cxx
new revision: 1.160.2.10; previous revision: 1.160.2.9
done

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team