Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CMAKEFLAGS and install target #935

Merged
merged 1 commit into from
Apr 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Nightwalker-87 marked this conversation as resolved.
Show resolved Hide resolved
package: build/Release
@echo "[PACKAGE] Release"
@$(MAKE) -C build/Release package
Expand Down