4fb4b3e4b0
* zig binding - sample added * zig build CI * split mingw (shared/static) CI/CD * unicorn log added * build C/C++ samples
10 lines
271 B
CMake
10 lines
271 B
CMake
set(CMAKE_CROSSCOMPILING TRUE)
|
|
# set the compiler
|
|
if(WIN32)
|
|
SET(ZIG_CC ${CMAKE_SOURCE_DIR}/bindings/zig/tools/zigcc.cmd)
|
|
else()
|
|
SET(ZIG_CC ${CMAKE_SOURCE_DIR}/bindings/zig/tools/zigcc.sh)
|
|
endif()
|
|
SET(CMAKE_C_COMPILER_ID ${ZIG_CC})
|
|
SET(CMAKE_C_COMPILER ${ZIG_CC})
|