MantisBT - CMake
View Issue Details
0013920CMakeCMakepublic2013-02-14 09:122016-06-10 14:31
anthony w baker 
Kitware Robot 
normalblockalways
closedmoved 
Windows 7Windows 7Windows 7
CMake 2.8.10 
 
0013920: CLR
I 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.

   
CMAKE ITK and set the compiler flags as stated above setting /clr, /TP, and /EHa and by removing /RTC1 within the compiler flags.
No tags attached.
Issue History
2013-02-14 09:12anthony w bakerNew Issue
2016-06-10 14:28Kitware RobotNote Added: 0042225
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042225)
Kitware Robot   
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.