View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013587CMakeCMakepublic2012-10-13 12:252013-03-04 08:38
ReporterPetr Kmoch 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.9 
Target VersionCMake 2.8.11Fixed in Version 
Summary0013587: Provide per-configuration variants of EXCLUDE_FROM_DEFAULT_BUILD (w/patch)
DescriptionVisual Studio supports excluding targets from build on a per-configuration basis. I have created a patch to support this in CMake as well. It adds support for per-configuration target properties EXCLUDE_FROM_DEFAULT_BUILD_<CONFIG>.
Additional InformationThe patch is based on commit 3eecc1 (nightly date 20121013). It includes tests, identifiable as -R VSExclude
TagsNo tags attached.
Attached Fileszip file icon skip_target_config.zip [^] (4,966 bytes) 2012-10-13 12:25

 Relationships

  Notes
(0031226)
Petr Kmoch (reporter)
2012-10-13 12:25

I will gladly make changes to the patch as necessary to make it acceptable.
(0031235)
Brad King (manager)
2012-10-15 09:18

Thanks!

Patches applied and merged to 'next' for testing:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=05630f5c [^]
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9d945864 [^]
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cb13d343 [^]

I tweaked the first patch to not add the test on VS 6 and the second patch to keep the C++ style within 79 columns and for compilation on a few older compilers.

Please follow up on the developers list if there is more work needed. Patches in the issue tracker are preferred only as proposed solutions to existing issues.
(0032472)
Robert Maynard (manager)
2013-03-04 08:38

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-10-13 12:25 Petr Kmoch New Issue
2012-10-13 12:25 Petr Kmoch File Added: skip_target_config.zip
2012-10-13 12:25 Petr Kmoch Note Added: 0031226
2012-10-15 09:18 Brad King Note Added: 0031235
2012-10-15 09:18 Brad King Assigned To => Brad King
2012-10-15 09:18 Brad King Status new => resolved
2012-10-15 09:18 Brad King Resolution open => fixed
2012-10-15 09:18 Brad King Target Version => CMake 2.8.11
2013-03-04 08:38 Robert Maynard Note Added: 0032472
2013-03-04 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team