Skip to content

Commit

Permalink
Fix Debug install sections
Browse files Browse the repository at this point in the history
  • Loading branch information
tx00100xt committed Nov 7, 2023
1 parent 43e25f5 commit f50773f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion SamTFE/Sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1361,10 +1361,13 @@ endif() # NOT XPLUS
# RAKE! Install Section.
if(LOCAL_INSTALL AND NOT XPLUS)
if(DEBUG) # RAKE! Will this work with TFE?
install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB} ${ENGINELIB}
install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB}
RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin"
LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin/Debug"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install(TARGETS ${ENGINELIB}
LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
if(BUILD_DEDICATED_SERVER)
install(TARGETS DedicatedServer${MP}
RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin"
Expand Down
5 changes: 4 additions & 1 deletion SamTSE/Sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1361,10 +1361,13 @@ endif() # NOT XPLUS
# RAKE! Install Section.
if(LOCAL_INSTALL AND NOT XPLUS)
if(DEBUG) # RAKE! Will this work with TFE?
install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB} ${ENGINELIB}
install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB}
RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin"
LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin/Debug"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install(TARGETS ${ENGINELIB}
LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
if(BUILD_DEDICATED_SERVER)
install(TARGETS DedicatedServer${MP}
RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin"
Expand Down

0 comments on commit f50773f

Please sign in to comment.