mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Add complete shader copy
This commit is contained in:
@@ -21,12 +21,19 @@ install:
|
||||
before_build:
|
||||
- cmd: |
|
||||
if not exist build mkdir build
|
||||
cd build
|
||||
# cd build
|
||||
cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=%CONFIG%
|
||||
|
||||
build_script:
|
||||
- cmd: |
|
||||
cmake --build . --config %CONFIG% --parallel
|
||||
cd ..
|
||||
|
||||
after_build:
|
||||
- cmd: |
|
||||
echo Copying shaders...
|
||||
if not exist build\bin\%CONFIG%\shaders mkdir build\bin\%CONFIG%\shaders
|
||||
xcopy /E /Y shaders build\bin\%CONFIG%\shaders\
|
||||
|
||||
artifacts:
|
||||
- path: build\bin\%CONFIG%\*.exe
|
||||
|
||||
Reference in New Issue
Block a user