From 685d75ffb8b9186fd82f6ac52bec6a5ce56fbfdb Mon Sep 17 00:00:00 2001 From: ParticleG Date: Fri, 22 Nov 2024 19:35:48 +0800 Subject: [PATCH] - Add message and trace --- .github/workflows/deps-test.yml | 2 +- CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deps-test.yml b/.github/workflows/deps-test.yml index e9bb8ff37..20d18ba2c 100644 --- a/.github/workflows/deps-test.yml +++ b/.github/workflows/deps-test.yml @@ -57,7 +57,7 @@ jobs: - name: Build compat version run: | mkdir -p ${{ env.BUILD_DIR }} - emcmake cmake -B ${{ env.BUILD_DIR }} -S megasource -DCMAKE_BUILD_TYPE=Release -DLOVE_JIT=0 -DLOVEJS_COMPAT=1 -DSEXPORT_ALL=1 -DSMAIN_MODULE=1 -DSERROR_ON_UNDEFINED_SYMBOLS=0 + emcmake cmake --trace-expand -B ${{ env.BUILD_DIR }} -S megasource -DCMAKE_BUILD_TYPE=Release -DLOVE_JIT=0 -DLOVEJS_COMPAT=1 -DSEXPORT_ALL=1 -DSMAIN_MODULE=1 -DSERROR_ON_UNDEFINED_SYMBOLS=0 emmake make -C ${{ env.BUILD_DIR }} -j - name: Copy files run: | diff --git a/CMakeLists.txt b/CMakeLists.txt index fd8efefc1..0cd0ab266 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -424,6 +424,7 @@ if(EXISTS ${MEGA_LOVE}/CMakeLists.txt) # Turn off third-party warnings when building with LOVE. foreach(MEGA_LIB ${MEGA_3P}) + message(STATUS "Disabling warnings for ${MEGA_LIB}") disable_warnings(${MEGA_LIB}) endforeach()