set CMAKE_BUILD_TYPE in codegen on ci

This commit is contained in:
ConfiG 2023-08-02 02:35:35 +03:00
parent b265250c51
commit 4ecea520fe
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B

View file

@ -107,7 +107,7 @@ include(ExternalProject)
set(GEODE_CODEGEN_BINARY_OUT ${CMAKE_CURRENT_BINARY_DIR}/codegen)
if(DEFINED ENV{GEODE_CI})
message(STATUS "GEODE_CI set")
set(GEODE_CODEGEN_CMAKE_ARGS -G ${CMAKE_GENERATOR} -DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER} -DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER})
set(GEODE_CODEGEN_CMAKE_ARGS -G ${CMAKE_GENERATOR} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER} -DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER})
endif()
ExternalProject_Add(CodegenProject
BUILD_ALWAYS ON