[CMAKE]: Watch and learn, Amine...

svn path=/branches/cmake-bringup/; revision=48311
This commit is contained in:
Sir Richard 2010-07-27 16:07:39 +00:00
parent 6a78adc872
commit bba1ffd927
3 changed files with 18 additions and 3 deletions

View file

@ -1,7 +1,12 @@
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/icu4ros/icu/source/common)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -UWINVER -DWINVER=0x600 -fno-exceptions -fno-rtti")
# Special C++ flags
add_definitions(-fno-exceptions -fno-rtti)
# Re-definition of WINVER
remove_definitions(-DWINVER=0x502) # This removes a top-level definition: The compiler never gets it on the command-line
add_definitions(-DWINVER=0x600) # And now we add our own
file(GLOB_RECURSE SOURCE "*.cpp")

View file

@ -1,7 +1,12 @@
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/icu4ros/icu/source/common)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -UWINVER -DWINVER=0x600 -fno-exceptions -fno-rtti")
# Special C++ flags
add_definitions(-fno-exceptions -fno-rtti)
# Re-definition of WINVER
remove_definitions(-DWINVER=0x502) # This removes a top-level definition: The compiler never gets it on the command-line
add_definitions(-DWINVER=0x600) # And now we add our own
file(GLOB_RECURSE SOURCE "*.cpp")

View file

@ -1,7 +1,12 @@
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/icu4ros/icu/source/common)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -UWINVER -DWINVER=0x600 -fno-exceptions -fno-rtti")
# Special C++ flags
add_definitions(-fno-exceptions -fno-rtti)
# Re-definition of WINVER
remove_definitions(-DWINVER=0x502) # This removes a top-level definition: The compiler never gets it on the command-line
add_definitions(-DWINVER=0x600) # And now we add our own
file(GLOB_RECURSE SOURCE "*.cpp")