forked from sergeyvfx/libmv
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
44 lines (31 loc) · 880 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
all : release
debug :
mkdir -p bin-dbg
cd bin-dbg && cmake -DCMAKE_BUILD_TYPE=Debug ../src && make
release :
mkdir -p bin-opt
cd bin-opt && cmake -DCMAKE_BUILD_TYPE=Release ../src && make
clean :
rm -rf bin-opt
rm -rf bin-dbg
test : debug
cd bin-dbg && ctest
test-release : release
cd bin-opt && ctest
install : debug
cd bin-dbg && make install
install-release : release
cd bin-opt && make install
uninstall : debug
cd bin-dbg && make uninstall
uninstall-release : release
cd bin-opt && make uninstall
documentation:
sphinx-build -b html src/libmv_opencv/doc/source ./bin-opt/doc/
@echo "\nOpen './bin-opt/doc/index.html' file."
doxygen :
cd doc && doxygen Doxyfile
kdevelop :
mkdir -p kdevelop-pro
cd kdevelop-pro && cmake -G KDevelop3 -DCMAKE_BUILD_TYPE=Debug ../src/
#TODO(pau) Add a constructor of CodeBlocks project using the wiki instructions.