[cmake-developers] [CMake 0014893]: ENABLE_LANGUAGE(ASM_MASM) adds back default configuration types
Mantis Bug Tracker
mantis at public.kitware.com
Tue Apr 22 04:05:37 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14893
======================================================================
Reported By: Mattias Ljungstrom
Assigned To:
======================================================================
Project: CMake
Issue ID: 14893
Category: CMake
Reproducibility: sometimes
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-04-22 04:05 EDT
Last Modified: 2014-04-22 04:05 EDT
======================================================================
Summary: ENABLE_LANGUAGE(ASM_MASM) adds back default
configuration types
Description:
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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-04-22 04:05 Mattias LjungstromNew Issue
======================================================================
More information about the cmake-developers
mailing list