Improve devendoring & other CMake stuff (#21)
* Improve devendoring * Add warning flags for own C++ code For https://github.com/tildearrow/furnace/pull/12#issuecomment-1017330467. * Document new CMake options * pkg-config stuff * Warnings stuff for MSVC yay * Use more specific linking vars & functions * Fix Linux icon location * DEPENDENCIES_LEGACY_LDFLAGS for JACK too
This commit is contained in:
parent
320bebb4be
commit
c83e146d11
4 changed files with 231 additions and 76 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -75,10 +75,14 @@ jobs:
|
|||
|
||||
- name: Configure
|
||||
run: |
|
||||
export USE_WAE=ON
|
||||
export CMAKE_EXTRA_ARGS=()
|
||||
if [ '${{ runner.os }}' == 'Windows' ]; then
|
||||
if [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
||||
CMAKE_EXTRA_ARGS+=('-G' 'MSYS Makefiles')
|
||||
elif [ '${{ matrix.config.compiler }}' == 'msvc' ]; then
|
||||
# We don't want all the MSVC warnings to cause errors yet
|
||||
export USE_WAE=OFF
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
@ -86,6 +90,7 @@ jobs:
|
|||
-B ${PWD}/build \
|
||||
-DCMAKE_INSTALL_PREFIX=${PWD}/target \
|
||||
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
|
||||
-DWARNINGS_ARE_ERRORS=${USE_WAE} \
|
||||
"${CMAKE_EXTRA_ARGS[@]}"
|
||||
|
||||
- name: Build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue