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 ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers