diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,14 +1,19 @@ -.PHONY: clean build test +.PHONY: clean build build-release test check all: build +PREFIX = "${PWD}/build/installdir" + build: @mkdir -p build - @cd build/ && cmake .. && make -j4 + @cd build/ && cmake .. -DCMAKE_INSTALL_PREFIX="${PREFIX}" && make -j12 # cp --no-preserve=mode,ownership -r ${CEF_PACKAGE_PATH}/lib/* ./build/lib/ # cp --no-preserve=mode,ownership -r ${CEF_PACKAGE_PATH}/share/cef/* ./build/lib/ @cp build/compile_commands.json . +install: build-release + cd build && cmake --install . --prefix "${PREFIX}" + test: build cd build && QT_QPA_PLATFORM=offscreen ctest -V |
