-
Notifications
You must be signed in to change notification settings - Fork 7
/
makefile
23 lines (15 loc) · 917 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all: release
release:
@cmake -DCMAKE_BUILD_TYPE=Release -DBENCHMARK_ENABLE_LTO=true -Bbuild -H. -DCMAKE_EXPORT_COMPILE_COMMANDS=YES && cd build && make
mpi:
@cmake -DMPI_BUILD=ON -DCMAKE_BUILD_TYPE=Release -DBENCHMARK_ENABLE_LTO=true -Bbuild -H. -DCMAKE_EXPORT_COMPILE_COMMANDS=YES && cd build && make
mpi-debug:
@cmake -DMPI_BUILD=ON -DCMAKE_BUILD_TYPE=Debug -DBENCHMARK_ENABLE_LTO=true -Bbuild -H. -DCMAKE_EXPORT_COMPILE_COMMANDS=YES && cd build && make
debug:
@cmake -DCMAKE_BUILD_TYPE=Debug -DBENCHMARK_ENABLE_LTO=true -Bbuild -H. -DCMAKE_EXPORT_COMPILE_COMMANDS=YES && cd build && make
static-gsl:
@cmake -DCMAKE_BUILD_TYPE=Release -DSTATIC_GSL=On -DBENCHMARK_ENABLE_LTO=true -Bbuild -H. -DCMAKE_EXPORT_COMPILE_COMMANDS=YES && cd build && make
static:
@cmake -DCMAKE_BUILD_TYPE=Release -DSTATIC_BUILD=On -Bbuild -H. -DCMAKE_EXPORT_COMPILE_COMMANDS=YES && cd build && make
clean:
rm -rf build bin