Update to modern project structure
Also, move progress tool into tests.
This commit is contained in:
30
premake.make
30
premake.make
@ -1,8 +1,36 @@
|
||||
LDLIBS := -lscerror -lm
|
||||
# Define linker flags here, like: -lsqlite3 -lpthread
|
||||
LDLIBS := -lscerror -lm
|
||||
|
||||
# Dir name becomes product name.
|
||||
PROJ := $(shell basename $$(pwd))
|
||||
|
||||
# Find out what platform we're on, e.g. Darwin, Linux, OpenBSD.
|
||||
UNAME_S := $(shell uname -s)
|
||||
|
||||
# We will build a library, not a tool.
|
||||
PRODUCT := lib
|
||||
|
||||
# Single source of truth for version.
|
||||
MAJOR := 1
|
||||
MINOR := 3
|
||||
PATCH := 0
|
||||
|
||||
# Specify desired C++ standard for this project.
|
||||
CXXFLAGS += -std=c++17
|
||||
|
||||
# Set to 1 if you want a precompiled header for the C++ Standard Library.
|
||||
PRECOMPILE := 0
|
||||
|
||||
# Set to 0 if you want to create a library header by hand.
|
||||
# By default, it will concatenate all headers, leaving out
|
||||
# lines containing: @exclude
|
||||
GENERATELIBHEADER := 1
|
||||
|
||||
# List of extra files to be installed in DATADIR (/usr/local/share/$(PROJ) by default)
|
||||
DATAFILES :=
|
||||
|
||||
# Define plugin sub-projects here. Assumption here is a directory "plugins"
|
||||
# containing plugin sub-projects, each in its own directory.
|
||||
# Rename and/or repeat accordingly.
|
||||
PLUGINS := $(wildcard plugins/*)
|
||||
MAKE += --no-print-directory
|
||||
|
Reference in New Issue
Block a user