MantisBT - CMake
View Issue Details
0014893CMakeCMakepublic2014-04-22 04:052016-06-10 14:31
Mattias Ljungstrom 
Kitware Robot 
normalminorsometimes
closedmoved 
PCWindows7
CMake 2.8.12.2 
 
0014893: ENABLE_LANGUAGE(ASM_MASM) adds back default configuration types

Under windows7, using Visual Studio 12 with target v120_xp.

If I use ENABLE_LANGUAGE(ASM_MASM) after set(CMAKE_CONFIGURATION_TYPES "Debug;Release;Final" CACHE STRING "" FORCE) it will add back the default configuration types ("minSizeRel" and "relWithDebInfo").

This happens sometimes, it seems to depend on the cache somehow.

Workaround is to move ENABLE_LANGUAGE(ASM_MASM) to start of config file.
No tags attached.
Issue History
2014-04-22 04:05Mattias LjungstromNew Issue
2014-04-23 08:53Brad KingNote Added: 0035762
2016-06-10 14:29Kitware RobotNote Added: 0042540
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0035762)
Brad King   
2014-04-23 08:53   
Due to the ordering dependence in your report I would appreciate a full CMakeLists.txt file showing the problem.
(0042540)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.