We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f40c948 commit c6b82caCopy full SHA for c6b82ca
1 file changed
build.bat
@@ -0,0 +1,45 @@
1
+@echo off
2
+REM A simple script to build different cppcheck targets from project root
3
+REM folder.
4
+REM
5
+REM Usage: build <target>
6
+REM where <target> is any of cppcheck/gui/tests
7
8
+REM TODO:
9
+REM - build release targets (new switch?)
10
+REM - add "all" target
11
+REM - run tests too
12
+
13
+if "%1" == "cppcheck" goto cppcheck
14
+if "%1" == "gui" goto gui
15
+if "%1" == "tests" goto tests
16
+goto help
17
18
+:cppcheck
19
+cd src
20
+qmake
21
+nmake
22
+cd ..
23
+goto end
24
25
+:gui
26
+cd gui
27
28
29
+lrelease gui.pro
30
+copy *.qm debug
31
32
33
34
+:tests
35
+cd test
36
37
38
39
40
41
+:help
42
+echo Syntax: build <target>
43
+echo where <target> is any of cppcheck/gui/tests
44
45
+:end
0 commit comments