* Add a proper way to enable/disable PSEH3.
svn path=/trunk/; revision=60190
add_definitions(-D_WINKD_=1)
endif()
- if(USE_PSEH3)
- add_definitions(-D_USE_PSEH3=1)
- endif()
-
# Version Options
add_definitions(-DWINVER=0x502
-D_WIN32_IE=0x600
"Whether to create a graphml dependency of dlls.")
if(MSVC)
-
set(_PREFAST_ FALSE CACHE BOOL
"Whether to enable PREFAST while compiling.")
set(_VS_ANALYZE_ FALSE CACHE BOOL
"Whether to enable static analysis while compiling.")
-
-else()
-
-set(USE_PSEH3 FALSE CACHE BOOL
-"Whether to use the new PSEH3 library (requires GCC 4.5 and newer).")
-
endif()
set(SEPARATE_DBG FALSE)
endif()
+if(NOT DEFINED USE_PSEH3)
+ set(USE_PSEH3 0)
+endif()
+
+if(USE_PSEH3)
+ add_definitions(-D_USE_PSEH3=1)
+endif()
+
# Compiler Core
add_compile_flags("-pipe -fms-extensions -fno-strict-aliasing")
if(GCC_VERSION VERSION_GREATER 4.7)
if(NOT MSVC)
- if (USE_PSEH3)
+ if(USE_PSEH3)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/pseh)
list(APPEND SOURCE
i386/pseh3.c