View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009173CMakeCMakepublic2009-06-17 12:472009-06-17 13:40
Reportertyler 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009173: create policy for change to add_subdirectory() behavior
DescriptionCMake 2.6.4 introduced a "bug fix" that prevents add_subdirectory() from being called on the same source directory multiple times.

For at least two of us (Floca Ralf Omar and I), this bug fix breaks our existing CMake scripts.

I propose that a policy be created so that users like Ralf and I can disable the new add_subdirectory() behavior until we have time to update our scripts to use a different strategy that does not rely on adding subdirectories multiple times.

Brad King agreed that this behavior could be controlled with a policy:

http://www.cmake.org/pipermail/cmake/2009-June/030193.html [^]

The rest of that thread has good discussion about the nature of the problem and why we want this policy.

Thanks,
tyler
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0016734)
Brad King (manager)
2009-06-17 13:40

ENH: Create CMP0013 to disallow duplicate dirs
/cvsroot/CMake/CMake/Source/cmMakefile.cxx,v <-- Source/cmMakefile.cxx
new revision: 1.509; previous revision: 1.508
/cvsroot/CMake/CMake/Source/cmMakefile.h,v <-- Source/cmMakefile.h
new revision: 1.255; previous revision: 1.254
/cvsroot/CMake/CMake/Source/cmPolicies.cxx,v <-- Source/cmPolicies.cxx
new revision: 1.39; previous revision: 1.38
/cvsroot/CMake/CMake/Source/cmPolicies.h,v <-- Source/cmPolicies.h
new revision: 1.24; previous revision: 1.23
(0016735)
Brad King (manager)
2009-06-17 13:40

I've scheduled this for 2.6.5.

 Issue History
Date Modified Username Field Change
2009-06-17 12:47 tyler New Issue
2009-06-17 12:54 Brad King Status new => assigned
2009-06-17 12:54 Brad King Assigned To => Brad King
2009-06-17 13:40 Brad King Note Added: 0016734
2009-06-17 13:40 Brad King Note Added: 0016735
2009-06-17 13:40 Brad King Status assigned => closed
2009-06-17 13:40 Brad King Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team