aboutsummaryrefslogtreecommitdiff
path: root/.config.gitlab-ci.mk
diff options
context:
space:
mode:
authorClément Zrounba <6691770+clement-z@users.noreply.github.com>2023-09-30 23:06:01 +0200
committerClément Zrounba <6691770+clement-z@users.noreply.github.com>2023-09-30 23:26:46 +0200
commitff9b8bb838ecdfbfc1dc81038fcf3b2a87636982 (patch)
tree21f27be782ce11c6d00b96ce100a2bff88141b2e /.config.gitlab-ci.mk
downloadspecs-ff9b8bb838ecdfbfc1dc81038fcf3b2a87636982.tar.gz
specs-ff9b8bb838ecdfbfc1dc81038fcf3b2a87636982.zip
Initial release
Diffstat (limited to '.config.gitlab-ci.mk')
-rw-r--r--.config.gitlab-ci.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/.config.gitlab-ci.mk b/.config.gitlab-ci.mk
new file mode 100644
index 0000000..d59f3d0
--- /dev/null
+++ b/.config.gitlab-ci.mk
@@ -0,0 +1,28 @@
+#### PROJECT SETTINGS ####
+# The name of the executable to be created
+BIN_NAME = specs
+LIB_NAME = libspecs.so
+
+# Compiler used
+CXX = g++
+CCACHE =
+
+BUILD_TB ?= 1
+
+# Path to the source directory, relative to the makefile
+SRC_PATH = src
+
+# General compiler flags
+CXXFLAGS = -std=c++17 -Wall -Wextra
+CXXFLAGS += -O2 -march=native
+
+# Add additional include paths (SRC_PATH and subdirectories are automatically added)
+INCLUDES += -isystem thirdparty/args
+
+# General linker settings
+LDFLAGS += -lsystemc -lm
+
+# Destination directory
+BUILD_PATH = build
+
+#### END PROJECT SETTINGS ####