jancity/cmake/host.cmake

11 lines
236 B
CMake
Raw Permalink Normal View History

set(cdroot ${CMAKE_BINARY_DIR})
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
2022-09-27 17:03:06 +02:00
set(cflags ${cflags} -Og)
else()
set(cflags ${cflags} -O3)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/fetch-libfixmath.cmake")
add_subdirectory(libfixmath)