aboutsummaryrefslogtreecommitdiff
path: root/cmake/host.cmake
blob: 8323bed9d758544f5c6cd83cce3f0e25e771b0fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
set(cdroot ${CMAKE_BINARY_DIR})

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
    set(cflags ${cflags} -Og)
else()
    set(cflags ${cflags} -O3)
endif()

include("${CMAKE_CURRENT_LIST_DIR}/fetch-libfixmath.cmake")
add_subdirectory(libfixmath)