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
1515PROJECT_NAME: =$(shell basename $(CURDIR ) )
1616BUILD_DIR? =../build-$(PROJECT_NAME ) -$(CXX ) -$(BUILD_TYPE )
1717
18- .PHONY : update format all test standalone doc check clean distclean lock
18+ .PHONY : update format all test standalone doc check clean distclean
1919
2020# the default target does just all, but neither standalone nor doc
2121test :
@@ -31,13 +31,6 @@ update:
3131 wget -q -O cmake/CPM.cmake https://github.com/cpm-cmake/CPM.cmake/releases/latest/download/get_cpm.cmake
3232 wget -q -O cmake/WarningsAsErrors.cmake https://raw.githubusercontent.com/approvals/ApprovalTests.cpp/master/CMake/WarningsAsErrors.cmake
3333
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-
4134# install the library to stagedir
4235install :
4336 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
6154
6255# GenerateDocs
6356doc :
64- cmake -S documentation -B $(BUILD_DIR ) /documentation " ${CMAKE_PRESET} "
57+ cmake -S documentation -B $(BUILD_DIR ) /documentation ${CMAKE_PRESET}
6558 cmake --build $(BUILD_DIR ) /documentation --target GenerateDocs
6659
6760format : distclean
You can’t perform that action at this time.
0 commit comments