Author: cwittich Date: Thu Mar 1 18:38:22 2012 New Revision: 55950
URL: http://svn.reactos.org/svn/reactos?rev=55950&view=rev Log: [cmake] reduce debug spam (only tested on windows)
Modified: trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/cmake/gcc.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=55950&a... ============================================================================== --- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Thu Mar 1 18:38:22 2012 @@ -15,6 +15,14 @@
# Compiler Core add_compile_flags("-pipe -fms-extensions") + +#bug +#file(TO_NATIVE_PATH ${REACTOS_SOURCE_DIR} REACTOS_SOURCE_DIR_NATIVE) +#workaround +if (WIN32) +STRING(REPLACE "/" "\" REACTOS_SOURCE_DIR_NATIVE ${REACTOS_SOURCE_DIR}) +endif() +add_compile_flags("-fdebug-prefix-map=${REACTOS_SOURCE_DIR_NATIVE}=ReactOS")
# Debugging if(SEPARATE_DBG)