To Whom It May Concern: I'm using Cmake 3.2.2, specifically the "Eclipse CDT4 - NMake Makefiles" generator. I am able to successfully run cmake and build from within Eclipse but there seem to be things missing from the .cproject file. For example, I've got a source routine with #ifdef _WIN32 and this chunk of code is greyed out (i.e. not perceived active) in the Eclipse editor and source outline views (see picture below). I find this surprising since the build succeeds (it's ultimately able to find the necessary windows headers) and /DWIN32 is defined in CMAKE_CXX_FLAGS.
[cid:[email protected]] Can you explain why the Eclipse project is unaware of the toolchain preprocessor macros and elaborate on how I can control this behavior using cmake (i.e. what knobs do I have at my disposal to tweak the .cproject file that gets generated by the Cmake generator, if any)? Thank you for your time and support, Anthony Ette Systems Engineer Simulation and Modeling Controls and Data Services Inc. Part of the Rolls-Royce Group 7661 N Perimeter Rd Indianapolis, IN 46241 tel: +1 (317) 230-6943 mob: +1 (317) 864-7975 email: [email protected]<mailto:[email protected]> www.controlsdata.com<http://www.controlsdata.com/> This e-mail (including attachments) contains contents owned by Rolls-Royce plc and its subsidiaries, affiliated companies or customers and covered by the laws of England and Wales, Brazil, US, or Canada (federal, state or provincial). The information contained in this email is intended to be confidential, may be legally privileged and subject to export controls which may restrict the access to and transfer of the information. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, interception or copying of this communication is strictly prohibited and may subject you to further legal action. Reply to the sender if you received this email by accident, and then delete the email and any attachments.
-- 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
