Commit 8a011b59 authored by Rashad Kanavath's avatar Rashad Kanavath

TEST: use ninja on windows #WIP

parent efd25a5b
......@@ -35,10 +35,16 @@ message("TEST_DIR=${TEST_DIR}")
message("PKG_DIR=${PKG_DIR}")
message("SRC_DIR=${SRC_DIR}")
set(cmake_gen)
if(WIN32)
set(cmake_gen "-GNinja")
endif()
execute_process(
COMMAND ${CMAKE_COMMAND}
-DCMAKE_INSTALL_PREFIX=${PKG_DIR}
-DCMAKE_BUILD_TYPE=RelWithDebInfo
${cmake_gen}
${SRC_DIR}
WORKING_DIRECTORY ${TEST_DIR}
RESULT_VARIABLE configure_rv
......
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