Skip to content

Commit

Permalink
change default windows build for cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjipeng committed Jul 3, 2024
1 parent afd1a68 commit 8492a3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
run: ./build_windows.bat

- name: Restore Project
run: msbuild ./vcproj/picasso.sln /t:Restore /p:Configuration=$env:Configuration
run: msbuild ./proj/picasso.sln /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}

- name: Build Solution
run: msbuild ./vcproj/picasso.sln /p:Configuration=$env:Configuration
run: msbuild ./proj/picasso.sln /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}

7 changes: 5 additions & 2 deletions build_windows.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
set GYP_MSVS_VERSION=2019
./tools/gyp/gyp --depth=./ picasso.gyp --generator-output=vcproj
rem set GYP_MSVS_VERSION=2019
rem ./tools/gyp/gyp --depth=./ picasso.gyp --generator-output=vcproj

mkdir proj
cd proj
cmake ../

0 comments on commit 8492a3d

Please sign in to comment.