Skip to content
Snippets Groups Projects
Commit 8a011b59 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

TEST: use ninja on windows #WIP

parent efd25a5b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment