diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 60ac399..ac7e806 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -28,6 +28,9 @@ jobs: - name: Build run: cmake --build ${{ env.BUILD_PATH }} -j 4 + + - name: Strip + run: strip ${{ env.BUILD_PATH }}/ncmdump.exe - name: Upload artifact uses: actions/upload-artifact@v4 diff --git a/CMakeLists.txt b/CMakeLists.txt index 066b033..79cd316 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ target_include_directories(ncmdump PRIVATE taglib/taglib/mpeg/id3v2) if(WIN32) if(CMAKE_COMPILER_IS_GNUCXX) - target_link_options(ncmdump PRIVATE -municode) + target_link_options(ncmdump PRIVATE -municode -static) endif() endif()