mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Removed debug comments on Windows CMake fixes
This commit is contained in:
parent
9fa8900734
commit
c3133e1740
1 changed files with 0 additions and 4 deletions
|
|
@ -25,14 +25,12 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio" AND CMAKE_SIZEOF_VOID_P MATCHES 8)
|
|||
PROPERTIES COMPILE_FLAGS -Od)
|
||||
ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio" AND CMAKE_SIZEOF_VOID_P MATCHES 8)
|
||||
|
||||
MESSAGE("Checking for ATOMICS")
|
||||
IF (NOT WITHOUT_ATOMICS)
|
||||
# Check if this Windows version supports atomic instructions
|
||||
IF (CMAKE_SIZEOF_VOID_P MATCHES 8)
|
||||
# Check for 64 bit atomics
|
||||
TRY_RUN(RUN_RES COMPILE_RES ${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/storage/innobase/win_atomics64_test.c)
|
||||
MESSAGE("Tried Win64, Compile = ${COMPILE_RES}, Run = ${RUN_RES}")
|
||||
IF (COMPILE_RES AND NOT RUN_RES)
|
||||
MESSAGE("Adding support for Win64 atomics")
|
||||
ADD_DEFINITIONS(-DWIN_ATOMICS64)
|
||||
|
|
@ -41,14 +39,12 @@ IF (NOT WITHOUT_ATOMICS)
|
|||
# Check for 32 bit atomics
|
||||
TRY_RUN(RUN_RES COMPILE_RES ${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/storage/innobase/win_atomics32_test.c)
|
||||
MESSAGE("Tried Win32, Compile = ${COMPILE_RES}, Run = ${RUN_RES}")
|
||||
IF (COMPILE_RES AND NOT RUN_RES)
|
||||
MESSAGE("Adding support for Win32 atomics")
|
||||
ADD_DEFINITIONS(-DWIN_ATOMICS32)
|
||||
ENDIF (COMPILE_RES AND NOT RUN_RES)
|
||||
ENDIF (CMAKE_SIZEOF_VOID_P MATCHES 8)
|
||||
ENDIF (NOT WITHOUT_ATOMICS)
|
||||
MESSAGE("End checking for ATOMICS")
|
||||
|
||||
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/zlib
|
||||
${CMAKE_SOURCE_DIR}/storage/innobase/include
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue