mirror of
https://github.com/gtalent/sc9k.git
synced 2025-01-22 21:03:37 -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")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-conversion")
|
||||||
endif()
|
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/../")
|
set(CMAKE_INSTALL_RPATH "$ORIGIN" "$ORIGIN/../")
|
||||||
if(QTDIR)
|
if(QTDIR)
|
||||||
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH} "${QTDIR}/lib")
|
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH} "${QTDIR}/lib")
|
||||||
|
8
Makefile
8
Makefile
@ -4,14 +4,14 @@ VCPKG_PKGS=
|
|||||||
include ${BUILDCORE_PATH}/base.mk
|
include ${BUILDCORE_PATH}/base.mk
|
||||||
|
|
||||||
ifeq ($(OS),darwin)
|
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
|
else
|
||||||
PROJECT_EXECUTABLE=./dist/${CURRENT_BUILD}/bin/SlideController
|
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/bin/SlideController
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
run: install
|
run:
|
||||||
${ENV_RUN} ${PROJECT_EXECUTABLE}
|
${ENV_RUN} ${PROJECT_EXECUTABLE}
|
||||||
.PHONY: debug
|
.PHONY: debug
|
||||||
debug: install
|
debug:
|
||||||
${DEBUGGER} ${PROJECT_EXECUTABLE}
|
${DEBUGGER} ${PROJECT_EXECUTABLE}
|
||||||
|
Loading…
Reference in New Issue
Block a user