View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013920CMakeCMakepublic2013-02-14 09:122016-06-10 14:31
Reporteranthony w baker 
Assigned ToKitware Robot 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindows 7OSWindows 7OS VersionWindows 7
Product VersionCMake 2.8.10 
Target VersionFixed in Version 
Summary0013920: CLR
DescriptionI am trying to use CMAKE to create the ITK libraries to link with a windows form application. I am targetting VS10 x64 on my win7 machine. In that process I am trying to create a C++/CLR version of software. The issue is that i can create force at the higher levels of the project to use C++/CLR by setting /clr, /TP, and /EHa and by removing /RTC1 within the compiler flags. That works fine.

The difficulty is that, at the file level, any .c file is marked with the /TC flag. This causes the comilation to fail since /TC and /clr.

Is there a way around this? I could modify my version of CMAKE although that does not seem like a great idea.

   
Steps To ReproduceCMAKE ITK and set the compiler flags as stated above setting /clr, /TP, and /EHa and by removing /RTC1 within the compiler flags.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042225)
Kitware Robot (administrator)
2016-06-10 14:28

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.

 Issue History
Date Modified Username Field Change
2013-02-14 09:12 anthony w baker New Issue
2016-06-10 14:28 Kitware Robot Note Added: 0042225
2016-06-10 14:28 Kitware Robot Status new => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team