Skip to content

Commit

Permalink
build: use build type RelWithDebInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
WillowSauceR authored and WillowSauceR committed Jun 22, 2023
1 parent b72cfa7 commit dbd7bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
New-Item -ItemType directory -Path build
cmake -S . -B build
cmake --build build/ --config Debug -j
cmake --build build/ --config Release -j
cmake --build build/ --config RelWithDebInfo -j
- name: Upload build files
uses: actions/upload-artifact@v3
with:
name: artifact
path: |
./build/Debug
./build/Release
./build/RelWithDebInfo
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ add_link_options(
/INCREMENTAL:NO
)

set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF")

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /utf-8")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:MSVCRTD")

Expand Down

0 comments on commit dbd7bb1

Please sign in to comment.