1
0
Fork 0
This commit is contained in:
Frank Celler 2016-03-01 15:11:39 +01:00
parent 3574333b5e
commit 715da04bb9
6 changed files with 32 additions and 27 deletions

View File

@ -315,7 +315,6 @@ else ()
"icui18n;icuuc;icudata"
CACHE INTERNAL
"ICU: Libraries"
FORCE
)
endif()

View File

@ -37,7 +37,7 @@ if (Boost_UNIT_TEST_FRAMEWORK_FOUND)
if (HAVE_USABLE_BOOT_LIBRARIES)
option(USE_BOOST_UNITTESTS "use boost unit-tests" ON)
else ()
message("cannot use BOOST library ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}")
message(STATUS "cannot use BOOST library ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}")
option(USE_BOOST_UNITTESTS "use boost unit-tests" OFF)
endif ()
else ()
@ -45,7 +45,7 @@ else ()
endif ()
if (NOT USE_BOOST_UNITTESTS)
message("BOOST unit-tests are disabled")
message(STATUS "BOOST unit-tests are disabled")
endif ()
set(BOOST_VERSION

View File

@ -173,7 +173,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
endif ()
if (WINDOWS)
set(BASE_FLAGS "/DWIN32 /D_WINDOWS /W3")
set(BASE_FLAGS "/D WIN32 /D _WINDOWS /W3")
set(BASE_C_FLAGS)
set(BASE_CXX_FLAGS "/GR /EHsc")
else ()
@ -396,13 +396,13 @@ elseif (MSVC)
endif ()
set(CMAKE_C_FLAGS "" CACHE STRING "default C++ compiler flags")
set(CMAKE_C_FLAGS_DEBUG "/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1" CACHE STRING "C++ debug flags")
set(CMAKE_C_FLAGS_DEBUG "/D _DEBUG /MTd /Zi /Ob0 /Od /RTC1" CACHE STRING "C++ debug flags")
set(CMAKE_C_FLAGS_MINSIZEREL "/MT /O1 /Ob1 /D NDEBUG" CACHE STRING "C++ minimal size flags")
set(CMAKE_C_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG" CACHE STRING "C++ release flags")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "/MT /Zi /O2 /Ob1 /D NDEBUG" CACHE STRING "C++ release with debug info flags")
set(CMAKE_CXX_FLAGS "" CACHE STRING "default C++ compiler flags")
set(CMAKE_CXX_FLAGS_DEBUG "/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1" CACHE STRING "C++ debug flags")
set(CMAKE_CXX_FLAGS_DEBUG "/D _DEBUG /MTd /Zi /Ob0 /Od /RTC1" CACHE STRING "C++ debug flags")
set(CMAKE_CXX_FLAGS_MINSIZEREL "/MT /O1 /Ob1 /D NDEBUG" CACHE STRING "C++ minimal size flags")
set(CMAKE_CXX_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG" CACHE STRING "C++ release flags")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MT /Zi /O2 /Ob1 /D NDEBUG" CACHE STRING "C++ release with debug info flags")
@ -675,15 +675,3 @@ add_subdirectory(arangosh)
add_subdirectory(arangod)
add_subdirectory(UnitTests)
add_subdirectory(Documentation)
add_dependencies(arangob zlibstatic v8_build)
add_dependencies(arangod ev zlibstatic v8_build)
add_dependencies(arangodump zlibstatic v8_build)
add_dependencies(arangoimp zlibstatic v8_build)
add_dependencies(arangorestore zlibstatic v8_build)
add_dependencies(arangosh zlibstatic v8_build)
if (USE_BOOST_UNITTESTS)
add_dependencies(basics_suite v8_build)
add_dependencies(geo_suite v8_build)
endif ()

View File

@ -41,6 +41,8 @@ if (USE_BOOST_UNITTESTS)
${BOOST_LIBS}
${SYSTEM_LIBRARIES}
)
add_dependencies(basics_suite v8_build)
endif ()
################################################################################
@ -60,4 +62,6 @@ if (USE_BOOST_UNITTESTS)
${BOOST_LIBS}
${SYSTEM_LIBRARIES}
)
add_dependencies(geo_suite v8_build)
endif ()

View File

@ -300,6 +300,7 @@ target_link_libraries(${BIN_ARANGOD}
${LIBEV_LIBS}
${LINENOISE_LIBS}
${MSVC_LIBS}
${V8_LIBS}
${SYSTEM_LIBRARIES}
)
@ -309,6 +310,8 @@ install(
install_config(arangod)
add_dependencies(arangod ev zlibstatic v8_build)
################################################################################
## arango-dfdb
################################################################################

View File

@ -40,6 +40,8 @@ install(
install_config(arangob)
add_dependencies(arangob zlibstatic v8_build) # v8_build includes ICU build
################################################################################
## arangodump
################################################################################
@ -76,6 +78,8 @@ install(
install_config(arangodump)
add_dependencies(arangodump zlibstatic v8_build) # v8_build includes ICU build
################################################################################
## arangoimp
################################################################################
@ -112,6 +116,8 @@ install(
install_config(arangoimp)
add_dependencies(arangoimp zlibstatic) # v8_build includes ICU build
################################################################################
## arangorestore
################################################################################
@ -148,6 +154,8 @@ install(
install_config(arangorestore)
add_dependencies(arangorestore zlibstatic v8_build) # v8_build includes ICU build
################################################################################
## arangosh
################################################################################
@ -178,6 +186,7 @@ target_link_libraries(${BIN_ARANGOSH}
${LIB_ARANGO}
${LINENOISE_LIBS}
${MSVC_LIBS}
${V8_LIBS}
${SYSTEM_LIBRARIES}
)
@ -187,6 +196,8 @@ install(
install_config(arangosh)
add_dependencies(arangosh zlibstatic v8_build)
################################################################################
## foxx-manager
################################################################################