File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 2.6)
5
5
include (FindPkgConfig )
6
6
7
7
find_package (lib_manager )
8
- libs_defaults ()
8
+ lib_defaults ()
9
9
define_module_info ()
10
10
11
11
Original file line number Diff line number Diff line change @@ -45,12 +45,20 @@ if [ $answer = "y" ]; then
45
45
46
46
echo " replace variables ..."
47
47
48
- FILES=" ${projDir} /CMakeLists.txt
49
- ${projDir} /manifest.xml
50
- ${projDir} /src/${classname} .h
51
- ${projDir} /src/${classname} .cpp
52
- ${projDir} /src/${classname} _MainWin.h
53
- ${projDir} /src/${classname} _MainWin.cpp"
48
+ if [ $gui = " y" ]; then
49
+ FILES=" ${projDir} /CMakeLists.txt
50
+ ${projDir} /manifest.xml
51
+ ${projDir} /src/${classname} .h
52
+ ${projDir} /src/${classname} .cpp
53
+ ${projDir} /src/${classname} _MainWin.h
54
+ ${projDir} /src/${classname} _MainWin.cpp"
55
+ else
56
+ FILES=" ${projDir} /CMakeLists.txt
57
+ ${projDir} /manifest.xml
58
+ ${projDir} /src/${classname} .h
59
+ ${projDir} /src/${classname} .cpp"
60
+ fi
61
+
54
62
SED_PAIRS=" __project__:${projName}
55
63
__classname__:${classname}
56
64
__description__:${description}
77
85
echo -e " \033[31;1m"
78
86
echo " abort"
79
87
echo -e " \033[0m"
80
- fi
88
+ fi
You can’t perform that action at this time.
0 commit comments