mirror of https://github.com/dnomd343/klotski.git
Dnomd343
3 weeks ago
4 changed files with 127 additions and 1 deletions
@ -0,0 +1,20 @@ |
|||
set(CMAKE_C_COMPILER "clang-18") |
|||
set(CMAKE_C_FLAGS "-march=native") |
|||
set(CMAKE_C_FLAGS_DEBUG "-g") |
|||
set(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG") |
|||
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG") |
|||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG") |
|||
|
|||
set(CMAKE_CXX_COMPILER "clang++-18") |
|||
set(CMAKE_CXX_FLAGS "-march=native -stdlib=libc++") |
|||
set(CMAKE_CXX_FLAGS_DEBUG "-g") |
|||
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG") |
|||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG") |
|||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG") |
|||
|
|||
set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ -fuse-ld=lld-18") |
|||
set(CMAKE_SHARED_LINKER_FLAGS "-stdlib=libc++ -fuse-ld=lld-18") |
|||
|
|||
set(CMAKE_AR "llvm-ar-18") |
|||
set(CMAKE_LINKER "clang++-18") |
|||
set(CMAKE_RANLIB "llvm-ranlib-18") |
@ -0,0 +1,20 @@ |
|||
set(CMAKE_C_COMPILER "clang-18") |
|||
set(CMAKE_C_FLAGS "-march=native") |
|||
set(CMAKE_C_FLAGS_DEBUG "-g") |
|||
set(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG") |
|||
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG") |
|||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG") |
|||
|
|||
set(CMAKE_CXX_COMPILER "clang++-18") |
|||
set(CMAKE_CXX_FLAGS "-march=native -fno-exceptions -fno-rtti -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-ident -nostdinc++ -isystem /root/llvm-project/build/include/c++/v1 -nostdlib++") |
|||
set(CMAKE_CXX_FLAGS_DEBUG "-g") |
|||
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG") |
|||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG") |
|||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG") |
|||
|
|||
set(CMAKE_EXE_LINKER_FLAGS "-fuse-ld=lld-18 -nostdlib++ -L /root/llvm-project/build/lib -Wl,-Bstatic -lc++ -lc++abi -Wl,-Bdynamic -Wl,--gc-sections") |
|||
set(CMAKE_SHARED_LINKER_FLAGS "-fuse-ld=lld-18 -nostdlib++ -L /root/llvm-project/build/lib -Wl,-Bstatic -lc++ -lc++abi -Wl,-Bdynamic -Wl,--gc-sections") |
|||
|
|||
set(CMAKE_AR "llvm-ar-18") |
|||
set(CMAKE_LINKER "clang++-18") |
|||
set(CMAKE_RANLIB "llvm-ranlib-18") |
@ -0,0 +1,17 @@ |
|||
set(CMAKE_C_COMPILER "zig-cc") |
|||
set(CMAKE_C_FLAGS "-march=x86_64") |
|||
set(CMAKE_C_FLAGS_DEBUG "-g") |
|||
set(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG") |
|||
set(CMAKE_C_FLAGS_RELEASE "-O4 -DNDEBUG") |
|||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O4 -g -DNDEBUG") |
|||
|
|||
set(CMAKE_CXX_COMPILER "zig-c++") |
|||
set(CMAKE_CXX_FLAGS "-march=x86_64") |
|||
set(CMAKE_CXX_FLAGS_DEBUG "-g") |
|||
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG") |
|||
set(CMAKE_CXX_FLAGS_RELEASE "-O4 -DNDEBUG") |
|||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O4 -g -DNDEBUG") |
|||
|
|||
set(CMAKE_AR "zig-ar") |
|||
set(CMAKE_LINKER "zig-c++") |
|||
set(CMAKE_RANLIB "zig-ranlib") |
Loading…
Reference in new issue