mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[CMAKE]: Watch and learn, Amine...
svn path=/branches/cmake-bringup/; revision=48311
This commit is contained in:
parent
6a78adc872
commit
bba1ffd927
3 changed files with 18 additions and 3 deletions
|
@ -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")
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue