diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-07-04 00:55:59 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-07-06 22:21:50 +0200 |
| commit | 892ecce78dec37a1b2701611dd72986442cd094d (patch) | |
| tree | bbd7fb0a0229795bf52d0b8a9ff9b06251363a67 /cmake/host.cmake | |
| parent | 99554cc243c4b2ec290639a04ebc2f189890d6dd (diff) | |
| download | wnix-892ecce78dec37a1b2701611dd72986442cd094d.tar.gz | |
Import project skeleton from rts
https://gitea.privatedns.org/xavi/rts
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) |
