Permalink
Browse files

Use lowercase name corsix-th on unix.

Apple still uses the same name, but on other UNIX systems the all
lowercase name is preferred.
  • Loading branch information...
TheCycoONE committed Jan 22, 2018
1 parent a58814c commit 9e2409e2e1e588288e486fb77cc74069c89dc590
Showing with 9 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +5 −1 CorsixTH/CMakeLists.txt
  3. +3 −0 CorsixTH/run-corsix-th-dev.sh.in
  4. +0 −3 CorsixTH/run-corsixth-dev.sh.in
View
@@ -97,3 +97,4 @@ CorsixTH/CorsixTH.sln
# Default build path
CorsixTH/CorsixTH
CorsixTH/corsix-th
View
@@ -76,6 +76,10 @@ else()
add_executable(CorsixTH ${corsixth_source_files})
endif()
if(UNIX AND NOT APPLE)
set_target_properties(CorsixTH PROPERTIES OUTPUT_NAME corsix-th)
endif()
# Add an extra step to copy built DLLs on MSVC
if(USE_VCPKG_DEPS)
include(CopyVcpkgLua)
@@ -196,7 +200,7 @@ endif()
# Launch script to facilitate out of source builds on Linux
if(UNIX)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/run-corsixth-dev.sh.in ${CMAKE_CURRENT_BINARY_DIR}/run-corsixth-dev.sh @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/run-corsix-th-dev.sh.in ${CMAKE_CURRENT_BINARY_DIR}/run-corsixth-dev.sh @ONLY)
elseif(MSVC)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CorsixTH.vcxproj.user.in ${CMAKE_CURRENT_BINARY_DIR}/CorsixTH.vcxproj.user @ONLY)
endif()
@@ -0,0 +1,3 @@
#!/bin/sh
"@CMAKE_CURRENT_BINARY_DIR@/corsix-th" --interpreter="@CMAKE_SOURCE_DIR@/CorsixTH/CorsixTH.lua" $@

This file was deleted.

Oops, something went wrong.

0 comments on commit 9e2409e

Please sign in to comment.