[cmake-developers] [CMake 0013920]: CLR
Mantis Bug Tracker
mantis at public.kitware.com
Thu Feb 14 09:12:48 EST 2013
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13920
======================================================================
Reported By: anthony w baker
Assigned To:
======================================================================
Project: CMake
Issue ID: 13920
Category: CMake
Reproducibility: always
Severity: block
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-02-14 09:12 EST
Last Modified: 2013-02-14 09:12 EST
======================================================================
Summary: CLR
Description:
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.
Steps to Reproduce:
CMAKE ITK and set the compiler flags as stated above setting /clr, /TP, and /EHa
and by removing /RTC1 within the compiler flags.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-02-14 09:12 anthony w bakerNew Issue
======================================================================
More information about the cmake-developers
mailing list