[cmake-developers] [CMake 0015712]: Add support for preprocessor definitions for Microsoft IDL (MIDL) compiler

Mantis Bug Tracker mantis at public.kitware.com
Wed Aug 26 07:33:18 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15712 
====================================================================== 
Reported By:                Michael Priestman
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15712
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-08-26 07:33 EDT
Last Modified:              2015-08-26 07:33 EDT
====================================================================== 
Summary:                    Add support for preprocessor definitions for
Microsoft IDL (MIDL) compiler
Description: 
There is currently no way (that I can see) of specifying preprocessor
definitions to the MIDL. Looking at the Visual Studio 10 generator source code,
it never even attempts to write out a "<PreprocessorDefinitions>" tag.

I would have a go at implementing it myself and submitting a patch, but I'm not
sure the best way to go about it. Should you do it via
"target_compile_definitions" using an "IDL" language tag, then use
clOptions.OutputPreprocessorDefinitions(..., "IDL")?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-08-26 07:33 Michael PriestmanNew Issue                                    
======================================================================



More information about the cmake-developers mailing list