mirror of
https://github.com/gtalent/sc9k.git
synced 2025-07-02 00:21:46 -05:00
Switch from QMake to CMake with buildcore
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
PROJECT_NAME=SlideController
|
||||
BUILDCORE_PATH=deps/buildcore
|
||||
VCPKG_PKGS=
|
||||
include ${BUILDCORE_PATH}/base.mk
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
PROJECT_EXECUTABLE=./dist/${CURRENT_BUILD}/${PROJECT_NAME}.app/Contents/MacOS/SlideController
|
||||
else
|
||||
PROJECT_EXECUTABLE=./dist/${CURRENT_BUILD}/bin/SlideController
|
||||
endif
|
||||
|
||||
.PHONY: run
|
||||
run: install
|
||||
${ENV_RUN} ${PROJECT_EXECUTABLE}
|
||||
.PHONY: debug
|
||||
debug: install
|
||||
${ENV_RUN} gdb --args ${PROJECT_EXECUTABLE}
|
Reference in New Issue
Block a user