mirror of
https://github.com/gtalent/sc9k.git
synced 2025-01-22 18:43:36 -06:00
Fix make run for new buildcore
This commit is contained in:
parent
59aee596e9
commit
834a36c417
@ -14,6 +14,10 @@ if(NOT MSVC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-conversion")
|
||||
endif()
|
||||
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
|
||||
set(CMAKE_INSTALL_RPATH "$ORIGIN" "$ORIGIN/../")
|
||||
if(QTDIR)
|
||||
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH} "${QTDIR}/lib")
|
||||
|
8
Makefile
8
Makefile
@ -4,14 +4,14 @@ VCPKG_PKGS=
|
||||
include ${BUILDCORE_PATH}/base.mk
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
PROJECT_EXECUTABLE=./dist/${CURRENT_BUILD}/${PROJECT_NAME}.app/Contents/MacOS/SlideController
|
||||
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/${PROJECT_NAME}.app/Contents/MacOS/SlideController
|
||||
else
|
||||
PROJECT_EXECUTABLE=./dist/${CURRENT_BUILD}/bin/SlideController
|
||||
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/bin/SlideController
|
||||
endif
|
||||
|
||||
.PHONY: run
|
||||
run: install
|
||||
run:
|
||||
${ENV_RUN} ${PROJECT_EXECUTABLE}
|
||||
.PHONY: debug
|
||||
debug: install
|
||||
debug:
|
||||
${DEBUGGER} ${PROJECT_EXECUTABLE}
|
||||
|
Loading…
Reference in New Issue
Block a user