[TD-4507]<fix>: disable jdbc build on windows for appveyor. (#6352)
This commit is contained in:
parent
5a2c3eda33
commit
b141d31939
|
@ -27,7 +27,7 @@ for:
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cd build
|
- cd build
|
||||||
- cmake -G "NMake Makefiles" ..
|
- cmake -G "NMake Makefiles" .. -DBUILD_JDBC=false
|
||||||
- nmake install
|
- nmake install
|
||||||
-
|
-
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
@ -14,12 +14,14 @@ MESSAGE(STATUS "Project binary files output path: " ${PROJECT_BINARY_DIR})
|
||||||
MESSAGE(STATUS "Project executable files output path: " ${EXECUTABLE_OUTPUT_PATH})
|
MESSAGE(STATUS "Project executable files output path: " ${EXECUTABLE_OUTPUT_PATH})
|
||||||
MESSAGE(STATUS "Project library files output path: " ${LIBRARY_OUTPUT_PATH})
|
MESSAGE(STATUS "Project library files output path: " ${LIBRARY_OUTPUT_PATH})
|
||||||
|
|
||||||
|
IF (TD_BUILD_JDBC)
|
||||||
FIND_PROGRAM(TD_MVN_INSTALLED mvn)
|
FIND_PROGRAM(TD_MVN_INSTALLED mvn)
|
||||||
IF (TD_MVN_INSTALLED)
|
IF (TD_MVN_INSTALLED)
|
||||||
MESSAGE(STATUS "MVN is installed and JDBC will be compiled")
|
MESSAGE(STATUS "MVN is installed and JDBC will be compiled")
|
||||||
ELSE ()
|
ELSE ()
|
||||||
MESSAGE(STATUS "MVN is not installed and JDBC is not compiled")
|
MESSAGE(STATUS "MVN is not installed and JDBC is not compiled")
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
ENDIF ()
|
||||||
|
|
||||||
#
|
#
|
||||||
# If need to set debug options
|
# If need to set debug options
|
||||||
|
|
|
@ -77,3 +77,9 @@ IF (${JEMALLOC_ENABLED} MATCHES "true")
|
||||||
SET(TD_JEMALLOC_ENABLED TRUE)
|
SET(TD_JEMALLOC_ENABLED TRUE)
|
||||||
MESSAGE(STATUS "build with jemalloc enabled")
|
MESSAGE(STATUS "build with jemalloc enabled")
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
|
SET(TD_BUILD_JDBC TRUE)
|
||||||
|
|
||||||
|
IF (${BUILD_JDBC} MATCHES "false")
|
||||||
|
SET(TD_BUILD_JDBC FALSE)
|
||||||
|
ENDIF ()
|
||||||
|
|
Loading…
Reference in New Issue