We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65ac417 commit c769bbfCopy full SHA for c769bbf
1 file changed
Makefile
@@ -1,4 +1,4 @@
1
-# Copyright (C) 2014 Red Hat, Inc.
+# Copyright (C) 2014 - 2022 Red Hat, Inc.
2
#
3
# This file is part of cscppc.
4
@@ -20,11 +20,14 @@ NUM_CPU ?= $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
20
CMAKE ?= cmake
21
CTEST ?= ctest -j$(NUM_CPU)
22
23
+CMAKE_BUILD_TYPE ?= RelWithDebInfo
24
+
25
.PHONY: all check clean distclean distcheck install
26
27
all:
28
mkdir -p cscppc_build
- cd cscppc_build && $(CMAKE) ..
29
+ cd cscppc_build && $(CMAKE) \
30
+ -DCMAKE_BUILD_TYPE="$(CMAKE_BUILD_TYPE)" ..
31
$(MAKE) -sC cscppc_build -j$(NUM_CPU)
32
33
check: all
0 commit comments