blob: aad5e9c8e8359609f8757d2a6940c8d8555fade3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
.PHONY: clean build test
all: build
build:
@mkdir -p build
@cd build/ && cmake .. && make -j4
# 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 .
test: build
cd build && ctest -V
clean:
rm -rf build/
rm -f compile_commands.json
run: build
./build/web-browser
# -DCMAKE_BUILD_TYPE=Release
|