Skip to content

Commit 6a2ff1f

Browse files
committed
Packaged .tcc folder
1 parent 8d12a26 commit 6a2ff1f

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ jobs:
7878
run: |
7979
mkdir ghostship-release
8080
mkdir ghostship-release/debug
81-
mv build/x64/Release/.tcc ghostship-release
8281
mv build/x64/Release/Ghostship.exe ghostship-release/
8382
mv build/x64/Release/ghostship.o2r ghostship-release/
8483
mv build/x64/Release/*.pdb ghostship-release/debug/
@@ -155,13 +154,11 @@ jobs:
155154
(cd build-cmake && cpack)
156155
mv _packages/*.dmg Ghostship.dmg
157156
mv README.md readme.txt
158-
mv build-cmake/.tcc .
159157
- name: Publish packaged artifacts
160158
uses: actions/upload-artifact@v4
161159
with:
162160
name: Ghostship-mac
163161
path: |
164-
.tcc
165162
Ghostship.dmg
166163
readme.txt
167164
- name: Save Cache MacPorts
@@ -256,7 +253,6 @@ jobs:
256253
wget -O gamecontrollerdb.txt https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/master/gamecontrollerdb.txt
257254
mv README.md readme.txt
258255
mv build-cmake/*.appimage ghostship.appimage
259-
mv build-cmake/.tcc .
260256
- name: Upload build
261257
uses: actions/upload-artifact@v4
262258
with:

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,11 +765,13 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
765765
install(FILES "${CMAKE_BINARY_DIR}/ghostship.o2r" DESTINATION . COMPONENT ${PROJECT_NAME})
766766
install(DIRECTORY "${CMAKE_SOURCE_DIR}/assets/" DESTINATION ./assets COMPONENT ${PROJECT_NAME})
767767
install(FILES "${CMAKE_BINARY_DIR}/config.yml" DESTINATION . COMPONENT ${PROJECT_NAME})
768+
install(DIRECTORY "$<TARGET_FILE_DIR:${PROJECT_NAME}>/.tcc/" DESTINATION ./.tcc COMPONENT ${PROJECT_NAME})
768769
endif()
769770

770771
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
771772
install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> DESTINATION ./debug COMPONENT ${PROJECT_NAME})
772773
install(FILES "${CMAKE_BINARY_DIR}/ghostship.o2r" DESTINATION . COMPONENT ${PROJECT_NAME})
774+
install(DIRECTORY "$<TARGET_FILE_DIR:${PROJECT_NAME}>/.tcc/" DESTINATION ./.tcc COMPONENT ${PROJECT_NAME})
773775
endif()
774776

775777
if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
@@ -796,6 +798,7 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/gamecontrollerdb.txt DESTINATION ../MacOS COMP
796798
INSTALL(FILES ${CMAKE_BINARY_DIR}/ghostship.o2r DESTINATION ../Resources COMPONENT Ghostship)
797799
INSTALL(FILES ${CMAKE_BINARY_DIR}/config.yml DESTINATION ../Resources COMPONENT Ghostship)
798800
INSTALL(DIRECTORY ${CMAKE_BINARY_DIR}/assets/ DESTINATION ../Resources/assets COMPONENT Ghostship)
801+
INSTALL(DIRECTORY "$<TARGET_FILE_DIR:${PROJECT_NAME}>/.tcc/" DESTINATION ../Resources/.tcc COMPONENT Ghostship)
799802

800803
# Fix bundle to include and relink all dependencies
801804
install(CODE "

0 commit comments

Comments
 (0)