Update Makefile for buildcore update
This commit is contained in:
parent
401ff5a287
commit
e17ba1e17a
14
Makefile
14
Makefile
@ -1,17 +1,17 @@
|
|||||||
PROJECT_NAME=CppProject
|
BC_PROJECT_NAME=CppProject
|
||||||
|
BC_VCPKG_PKGS=
|
||||||
BUILDCORE_PATH=deps/buildcore
|
BUILDCORE_PATH=deps/buildcore
|
||||||
VCPKG_PKGS=
|
|
||||||
include ${BUILDCORE_PATH}/base.mk
|
include ${BUILDCORE_PATH}/base.mk
|
||||||
|
|
||||||
ifeq ($(OS),darwin)
|
ifeq ($(BC_OS),darwin)
|
||||||
PROJECT_EXECUTABLE=./build/${CURRENT_BUILD}/${PROJECT_NAME}.app/Contents/MacOS/${PROJECT_NAME}
|
PROJECT_EXECUTABLE=./build/${BC_CURRENT_BUILD}/${BC_PROJECT_NAME}.app/Contents/MacOS/${BC_PROJECT_NAME}
|
||||||
else
|
else
|
||||||
PROJECT_EXECUTABLE=./build/${CURRENT_BUILD}/bin/${PROJECT_NAME}
|
PROJECT_EXECUTABLE=./build/${BC_CURRENT_BUILD}/bin/${BC_PROJECT_NAME}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
run: build
|
run: build
|
||||||
${ENV_RUN} ${PROJECT_EXECUTABLE}
|
${BC_ENVRUN} ${PROJECT_EXECUTABLE}
|
||||||
.PHONY: debug
|
.PHONY: debug
|
||||||
debug: build
|
debug: build
|
||||||
${ENV_RUN} ${DEBUGGER} ${PROJECT_EXECUTABLE}
|
${BC_ENVRUN} ${BC_DEBUGGER} ${PROJECT_EXECUTABLE}
|
||||||
|
Loading…
Reference in New Issue
Block a user