MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012220 | CMake | CMake | public | 2011-05-24 08:28 | 2011-10-03 09:54 |
Reporter | Magnus Osterlind | ||||
Assigned To | David Cole | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.4 | ||||
Target Version | Fixed in Version | CMake 2.8.4 | |||
Summary | 0012220: /INCREMENTAL flag interferes with include directory parsing for Visual Studio 2010 | ||||
Description | The /INCREMENTAL flag will incorrectly by identified and parsed as an include directory (/I), so the generated project file will contain a <AdditionalIncludeDirectories>NCREMENTAL</AdditionalIncludeDirectories> tag. | ||||
Steps To Reproduce | 1) Create a CMakeLists.txt containing an /INCREMENTAL flag, ex: --- cmake_minimum_required (VERSION 2.6) project (Tutorial) SET(CMAKE_CXX_FLAGS_DEBUG "/INCREMENTAL") add_executable(Tutorial tutorial.cxx) --- 2) Run cmake with Visual Studio 2010 as the generator. | ||||
Additional Information | As far as I can tell, include directories as separated from the /I switch with a space, so I solved this locally by including a space as part of the AdditionalIncludeDirectories rule in cmVS10CLFlagTable.h. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-05-24 08:28 | Magnus Osterlind | New Issue | |||
2011-05-24 11:56 | David Cole | Assigned To | => David Cole | ||
2011-05-24 11:56 | David Cole | Status | new => assigned | ||
2011-05-24 11:58 | David Cole | Note Added: 0026575 | |||
2011-05-24 11:58 | David Cole | Status | assigned => resolved | ||
2011-05-24 11:58 | David Cole | Fixed in Version | => CMake 2.8.4 | ||
2011-05-24 11:58 | David Cole | Resolution | open => no change required | ||
2011-05-24 11:59 | David Cole | Note Edited: 0026575 | bug_revision_view_page.php?bugnote_id=26575#r338 | ||
2011-10-03 09:54 | David Cole | Note Added: 0027505 | |||
2011-10-03 09:54 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|