Revision dd3b915...

Go back to digest for 13th March 2011

Bug Fixes in Development Tools

Andreas Holzammer committed changes in [kdevelop] /cpp:

Fix standard include dirs and macros under Windows
This patch enables Kdevelop to find the include directories and standard macros under Windows.

There is no "gcc -dM -E -" under Windows. So you need to do a hack to find the standard defined macros. Therefore a empty cpp file is compiled with a special commandline option "/Bx" to replace the compiler against a program which interpretes the output of the preprocessor.

For include directories Windows uses enviroment variables, so this patch processes them.

This patch has been written by Patrick Spenderin, thank you for that.

File Changes

Added 3 files
  • /cpp
  •   languages/msvcdefinehelper.cpp
  •   languages/setuphelpers_gcc.cpp
  •   languages/setuphelpers_msvc.cpp
Modified 3 files
  • /cpp
  •   languages/CMakeLists.txt
  •   languages/setuphelpers.cpp
  •   languages/tests/CMakeLists.txt
6 files changed in total