Commit cc9547ab authored by Rashad Kanavath's avatar Rashad Kanavath

ENH: test pkg examples with RelWithDebInfo

parent 4ec171a6
......@@ -38,6 +38,7 @@ message("SRC_DIR=${SRC_DIR}")
execute_process(
COMMAND ${CMAKE_COMMAND}
-DCMAKE_INSTALL_PREFIX=${PKG_DIR}
-DCMAKE_BUILD_TYPE=RelWithDebInfo
${SRC_DIR}
WORKING_DIRECTORY ${TEST_DIR}
RESULT_VARIABLE configure_rv
......@@ -56,6 +57,7 @@ endif()
# the code is written in a way that it is easy to stuff these two
# into a cmake foreach
execute_process(COMMAND ${CMAKE_COMMAND}
--config RelWithDebInfo
--build ${TEST_DIR}
--target HelloWorldOTB
WORKING_DIRECTORY ${TEST_DIR}
......@@ -72,6 +74,7 @@ else()
endif()
execute_process(COMMAND ${CMAKE_COMMAND}
--config RelWithDebInfo
--build ${TEST_DIR}
--target Pipeline
WORKING_DIRECTORY ${TEST_DIR}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment