[cmake-developers] [CMake 0012951]: The DEFINE variable doesn't expand with VS generators but expands correctly with the nmake one

Mantis Bug Tracker mantis at public.kitware.com
Thu Feb 9 11:47:24 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12951 
====================================================================== 
Reported By:                Amine Khaldi
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12951
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-02-09 11:47 EST
Last Modified:              2012-02-09 11:47 EST
====================================================================== 
Summary:                    The DEFINE variable doesn't expand with VS
generators but expands correctly with the nmake one
Description: 
We (ReactOS) set CMAKE_ASM_COMPILE_OBJECT and use <FLAGS>, <DEFINES>,
<OBJECT>...etc. The <DEFINES> expands like the rest of those variables when the
nmake files generator is used, but doesn't expand when you use the VS
generators. This is blocking us from using them because many of our core
components contain asm files as source files.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-09 11:47 Amine Khaldi   New Issue                                    
======================================================================




More information about the cmake-developers mailing list