2023-08-25 00:15:57 -05:00
|
|
|
BC_VAR_PROJECT_NAME=CppProject
|
|
|
|
BC_VAR_VCPKG_PKGS=
|
2023-08-08 20:21:43 -05:00
|
|
|
BUILDCORE_PATH=deps/buildcore
|
|
|
|
include ${BUILDCORE_PATH}/base.mk
|
|
|
|
|
2023-08-25 00:15:57 -05:00
|
|
|
ifeq ($(BC_VAR_OS),darwin)
|
|
|
|
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/${BC_VAR_PROJECT_NAME}.app/Contents/MacOS/${BC_VAR_PROJECT_NAME}
|
2023-08-08 20:21:43 -05:00
|
|
|
else
|
2023-08-25 00:15:57 -05:00
|
|
|
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/bin/${BC_VAR_PROJECT_NAME}
|
2023-08-08 20:21:43 -05:00
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: run
|
|
|
|
run: build
|
2023-08-24 00:05:00 -05:00
|
|
|
${BC_ENVRUN} ${PROJECT_EXECUTABLE}
|
2023-08-08 20:21:43 -05:00
|
|
|
.PHONY: debug
|
|
|
|
debug: build
|
2023-08-25 00:15:57 -05:00
|
|
|
${BC_DEBUGGER} ${PROJECT_EXECUTABLE}
|