Skip to content

Commit

Permalink
Some changes for Codeblocks under Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthies committed Sep 27, 2021
1 parent 44225fe commit 0eeda66
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions src/RubiChess.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,32 @@
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/RubiChess" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Target title="Windows">
<Option platforms="Windows;" />
<Option output="bin/Release/RubiChess" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
<Add option="-O3" />
</Compiler>
<Linker>
<Add option="-s" />
<Add option="-static" />
</Linker>
</Target>
<Target title="Release">
<Target title="Linux">
<Option platforms="Unix;Mac;" />
<Option output="bin/Release/RubiChess" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-flto" />
<Add option="-O3" />
</Compiler>
<Linker>
<Add option="-flto" />
<Add option="-s" />
</Linker>
</Target>
Expand All @@ -33,15 +41,14 @@
<Add option="-std=c++11" />
<Add option="-fexceptions" />
<Add option="-march=znver1" />
<Add option="-pthread" />
<Add option="-DUSE_AVX2" />
<Add option="-DUSE_POPCNT" />
<Add option="-DUSE_SSE3" />
<Add option="-DUSE_SSSE3" />
<Add option="-DUSE_SSE2" />
</Compiler>
<Linker>
<Add option="-static" />
<Add library="pthread" />
</Linker>
<Unit filename="RubiChess.h" />
<Unit filename="board.cpp" />
Expand Down

0 comments on commit 0eeda66

Please sign in to comment.