-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from karoterra/refactor/build-system
ビルド関連の設定を更新
- Loading branch information
Showing
11 changed files
with
107 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
* text=auto | ||
|
||
*.h text working-tree-encoding=cp932 | ||
*.c text working-tree-encoding=cp932 | ||
*.hpp text working-tree-encoding=cp932 | ||
*.cpp text working-tree-encoding=cp932 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Build Windows Plugin | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Set up MSVC | ||
uses: microsoft/setup-msbuild@v2 | ||
|
||
- name: Configure CMake | ||
run: cmake --preset default | ||
|
||
- name: Build | ||
run: cmake --build build --preset release | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: aviutl_ShowLimit | ||
path: build/Release/ShowLimit.auf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[Bb]uild/ | ||
[Vv]endor/ | ||
*.auf | ||
CMakeUserPresets.json | ||
|
||
# User-specific files | ||
*.rsuser | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "vendor/aviutl_exedit_sdk"] | ||
path = vendor/aviutl_exedit_sdk | ||
url = https://github.com/ePi5131/aviutl_exedit_sdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
{ | ||
"[c]": { | ||
"files.encoding": "shiftjis" | ||
}, | ||
"[cpp]": { | ||
"files.encoding": "shiftjis" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "shell", | ||
"label": "CMake: Build (Debug)", | ||
"command": "cmake", | ||
"args": [ | ||
"--build", | ||
"${workspaceFolder}/build", | ||
"--preset", | ||
"debug" | ||
], | ||
"group": "build", | ||
"problemMatcher": [], | ||
"detail": "デバッグビルド" | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "CMake: Build (Release)", | ||
"command": "cmake", | ||
"args": [ | ||
"--build", | ||
"${workspaceFolder}/build", | ||
"--preset", | ||
"release" | ||
], | ||
"group": "build", | ||
"problemMatcher": [], | ||
"detail": "リリースビルド" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"version": 3, | ||
"configurePresets": [ | ||
{ | ||
"name": "default", | ||
"binaryDir": "${sourceDir}/build", | ||
"generator": "Visual Studio 17 2022", | ||
"architecture": "Win32" | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "debug", | ||
"configurePreset": "default", | ||
"configuration": "Debug" | ||
}, | ||
{ | ||
"name": "release", | ||
"configurePreset": "default", | ||
"configuration": "Release" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Credits | ||
|
||
## aviutl_exedit_sdk v1 | ||
## aviutl_exedit_sdk v1.2 | ||
|
||
https://github.com/ePi5131/aviutl_exedit_sdk | ||
|
||
|
Submodule aviutl_exedit_sdk
added at
834536