File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export CPM_SOURCE_CACHE=${HOME}/.cache/CPM
15
15
PROJECT_NAME: =$(shell basename $(CURDIR ) )
16
16
BUILD_DIR? =../build-$(PROJECT_NAME ) -$(CXX ) -$(BUILD_TYPE )
17
17
18
- .PHONY : update format all test standalone doc check clean distclean lock
18
+ .PHONY : update format all test standalone doc check clean distclean
19
19
20
20
# the default target does just all, but neither standalone nor doc
21
21
test :
@@ -31,13 +31,6 @@ update:
31
31
wget -q -O cmake/CPM.cmake https://github.com/cpm-cmake/CPM.cmake/releases/latest/download/get_cpm.cmake
32
32
wget -q -O cmake/WarningsAsErrors.cmake https://raw.githubusercontent.com/approvals/ApprovalTests.cpp/master/CMake/WarningsAsErrors.cmake
33
33
34
- lock : all standalone doc
35
- cmake --build $(BUILD_DIR ) /all --target cpm-update-package-lock
36
- cmake --build $(BUILD_DIR ) /test --target cpm-update-package-lock
37
- cmake --build $(BUILD_DIR ) /install --target cpm-update-package-lock
38
- cmake --build $(BUILD_DIR ) /standalone --target cpm-update-package-lock
39
- cmake --build $(BUILD_DIR ) /documentation --target cpm-update-package-lock
40
-
41
34
# install the library to stagedir
42
35
install :
43
36
cmake -S . -B $(BUILD_DIR ) /$@ ${CMAKE_PRESET} -DCMAKE_INSTALL_PREFIX=$(STAGE_DIR ) -DCMAKE_CXX_STANDARD=20 # NO! -DCMAKE_CXX_CLANG_TIDY=clang-tidy # --trace-expand
61
54
62
55
# GenerateDocs
63
56
doc :
64
- cmake -S documentation -B $(BUILD_DIR ) /documentation " ${CMAKE_PRESET} "
57
+ cmake -S documentation -B $(BUILD_DIR ) /documentation ${CMAKE_PRESET}
65
58
cmake --build $(BUILD_DIR ) /documentation --target GenerateDocs
66
59
67
60
format : distclean
You can’t perform that action at this time.
0 commit comments