Skip to content

Commit

Permalink
Merge pull request #935 from Jochen0x90h/build-settings
Browse files Browse the repository at this point in the history
Add CMAKEFLAGS and install target
  • Loading branch information
Nightwalker-87 authored Apr 19, 2020
2 parents f489145 + 2cccbd9 commit d5fcfce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
##
# This Makefile is used to drive building of Debug and Release targets of CMake
##
MAKEFLAGS += -s

# additional flags for cmake, e.g. install path -DCMAKE_INSTALL_PREFIX=$(HOME)/.local
CMAKEFLAGS +=

all: release
ci: debug release binary test
Expand All @@ -10,6 +12,8 @@ help:
@echo " debug: Run a debug build"
@echo " release: Run a release build"
@echo " binary: Build Windows-Binary"
@echo " install: Install release build"
@echo " package: Package release build"
@echo " lint: Lint check all source-code"
@echo " test: Build and run tests"
@echo " clean: Clean all build output"
Expand All @@ -32,6 +36,10 @@ binary: build/Binary
@echo "[BINARY]"
@$(MAKE) -C build/Binary

install: build/Release
@echo "[INSTALL] Release"
@$(MAKE) -C build/Release install

package: build/Release
@echo "[PACKAGE] Release"
@$(MAKE) -C build/Release package
Expand Down

0 comments on commit d5fcfce

Please sign in to comment.