diff options
Diffstat (limited to 'cmake/host.cmake')
| -rw-r--r-- | cmake/host.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/host.cmake b/cmake/host.cmake new file mode 100644 index 0000000..36d7d70 --- /dev/null +++ b/cmake/host.cmake @@ -0,0 +1,8 @@ +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) |
