Commit b10130b6 authored by Didier WECKMANN's avatar Didier WECKMANN
Browse files

feat: disable pch and use ccache

parent 3d941716
......@@ -477,13 +477,15 @@ def sight(parsed_arguments, gitlab_instance, root=os.getcwd()):
script_file.write('setopt extended_glob\n')
script_file.write('rm -rf ^$(basename $0)\n')
script_file.write('unsetopt extended_glob\n')
script_file.write('cmake')
script_file.write('CC=/usr/local/lib/ccache/gcc-8 CXX=/usr/local/lib/ccache/g++-8')
script_file.write(' cmake')
script_file.write(' ../../Src/sight')
script_file.write(' -G "CodeBlocks - Ninja"')
script_file.write(' -DCMAKE_BUILD_TYPE=Release')
script_file.write(' -DGENERATE_VSCODE_WS=ON')
script_file.write(' -DVERBOSE_CONAN=ON')
script_file.write(' -DCONAN_BUILD_MISSING=ON')
script_file.write(' -DENABLE_PCH=OFF')
script_file.write(' && ninja\n\n')
# Set the script executable
......@@ -495,13 +497,15 @@ def sight(parsed_arguments, gitlab_instance, root=os.getcwd()):
script_file.write('setopt extended_glob\n')
script_file.write('rm -rf ^$(basename $0)\n')
script_file.write('unsetopt extended_glob\n')
script_file.write('cmake')
script_file.write('CC=/usr/local/lib/ccache/gcc-8 CXX=/usr/local/lib/ccache/g++-8')
script_file.write(' cmake')
script_file.write(' ../../Src/sight')
script_file.write(' -G "CodeBlocks - Ninja"')
script_file.write(' -DCMAKE_BUILD_TYPE=Debug')
script_file.write(' -DGENERATE_VSCODE_WS=ON')
script_file.write(' -DVERBOSE_CONAN=ON')
script_file.write(' -DCONAN_BUILD_MISSING=ON')
script_file.write(' -DENABLE_PCH=OFF')
script_file.write(' && ninja\n\n')
# Set the script executable
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment