[cmake-developers] [CMake 0012321]: EXCLUDE_FROM_ALL not working with debuging in Visual Studio 2010
Mantis Bug Tracker
mantis at public.kitware.com
Thu Jul 7 16:16:26 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=12321
======================================================================
Reported By: Chuck
Assigned To:
======================================================================
Project: CMake
Issue ID: 12321
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-07-07 16:16 EDT
Last Modified: 2011-07-07 16:16 EDT
======================================================================
Summary: EXCLUDE_FROM_ALL not working with debuging in Visual
Studio 2010
Description:
The EXCLUDE_FROM_ALL works fine for the ALL_BUILD target and for
targets from top level directories.
The problem is when I hit the debug button (F5)
it seems to build projects in sub dirs.
Steps to Reproduce:
I've attached a simple project that reproduces the problem on my computer.
If you look at the solution project dependencies for ALL_BUILD,
DUMMY and test_ut are not included.
If you look at the project property -> Configuration -> Debugging ->
Configuration Manager
You can see that the top level DUMMY project is not included
but the test_ut project is included as a dependency.
Additional Information:
I traced this through to the solution file.
If I remove the Build.0 lines for test_ut:
{C0BAEDA0-D5C5-4F4B-9ED0-20138A689CAC}.Debug|x64.Build.0 = Debug|x64
From:
GlobalSection(ProjectConfigurationPlatforms) = postSolution
It seems to work like I would expect(like).
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-07-07 16:16 Chuck New Issue
2011-07-07 16:16 Chuck File Added: test.zip
======================================================================
More information about the cmake-developers
mailing list