Skip to content

Commit c15f356

Browse files
author
BuildOne Robotics
committed
Switched to CMake build system
1 parent 2091482 commit c15f356

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- name: Setup MSVC
17-
uses: ilammy/msvc-dev-cmd@v1
16+
- name: Configure CMake
17+
run: cmake -B build -G "Visual Studio 17 2022" -A x64
1818

19-
- name: Build C++
20-
run: cl /EHsc /Fe:BluePrintOne.exe main.cpp user32.lib gdi32.lib comdlg32.lib comctl32.lib /link /SUBSYSTEM:WINDOWS
19+
- name: Build
20+
run: cmake --build build --config Release
2121

2222
- name: Create Release
2323
uses: softprops/action-gh-release@v2
2424
with:
25-
files: BluePrintOne.exe
25+
files: build/Release/BluePrintOne.exe

0 commit comments

Comments
 (0)