1
1
# ~~~
2
2
3
- # !!!! EXPERIMENTAL/DEVELOPMENT BUILD SYSTEM !!!! If you need support please
4
- # contact the maintainers
5
-
6
3
#
7
4
# You can change the install location by running cmake like this: mkdir build;
8
5
# cd build cmake .. -DCMAKE_INSTALL_PREFIX=/new/install/prefix
9
6
10
- # Notes * By default, the prefix is "/usr/local" * Use -DADMSXML_DIR=[path] to
11
- # give the path containing admsXml * Use -DUSE_MAINTAINER_MODE=ON to rebuild
12
- # submodules (ADMS) * Bison can be pointed to with -DBISON_DIR=[path]
7
+ # Notes:
8
+ #
9
+ # * By default, the prefix is "/usr/local"
10
+ # * Use -DADMSXML_DIR=[path] to give the path containing admsXml submodules (ADMS)
11
+ # * Bison can be pointed to with -DBISON_DIR=[path]
13
12
14
13
# Running with QtCreator Open this CMakeLists.txt with 'Open File or Project..."
15
14
# Provide CMake arguments: * Set admsXml path, (after building with Autotools) *
22
21
# variable on the Build Environment. Prepend '/usr/local/bin' before '/usr/bin/'
23
22
# otherwise it will find the older executables provided by Apple.
24
23
25
- # Dependencies * CMake 2.8.8 * adms 2.3.0+ (its dependencies if
26
- # USE_MAINTAINER_MODE) * sed * gperf * flex * bison * make * C++ compiler
27
-
28
- #
29
- # qucs-core * qucsator, libqucs * qucsconv
24
+ # Build
25
+ # * qucsator
26
+ # * libqucs
27
+ # * qucsconv
30
28
#
31
29
32
30
# ~~~
@@ -39,10 +37,6 @@ if(POLICY CMP0048)
39
37
cmake_policy (SET CMP0048 OLD)
40
38
endif (POLICY CMP0048)
41
39
42
- # default is off, assume one is building the released tarball (pre-configured)
43
- option (USE_MAINTAINER_MODE "development mode, rebuild ADMS submodule" OFF )
44
-
45
- # SET(CMAKE_VERBOSE_MAKEFILE ON)
46
40
47
41
# otherwise qucsator cannot generate qucsdefs.h
48
42
add_definitions (-DDEBUG)
@@ -83,9 +77,6 @@ message(STATUS "Configuring ${PROJECT_NAME}: VERSION ${QUCS_VERSION}")
83
77
set (PROJECT_VERSION "${QUCS_VERSION} " )
84
78
85
79
set (PROJECT_VENDOR "Qucs team. This program is licensed under the GNU GPL" )
86
- set (PROJECT_COPYRIGHT_YEAR "2013" )
87
- set (PROJECT_DOMAIN_FIRST "qucs" )
88
- set (PROJECT_DOMAIN_SECOND "org" )
89
80
90
81
set (QUCS_URL "https://sf.net/p/qucs" )
91
82
set (QUCS_BUGREPORT "qucs-bugs@lists.sourceforge.net" )
@@ -151,7 +142,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")
151
142
#
152
143
find_package (FLEX 2.5.9 REQUIRED)
153
144
if (FLEX_FOUND)
154
- # MESSAGE(STATUS "Found flex: ${FLEX_EXECUTABLE} / Version: ${FLEX_VERSION}" )
155
145
endif ()
156
146
157
147
# ~~~
@@ -164,10 +154,6 @@ endif()
164
154
# ~~~
165
155
if (WIN32 )
166
156
find_package (BISON 2.4 REQUIRED)
167
- if (BISON_FOUND)
168
- # MESSAGE(STATUS "Found bison: ${BISON_EXECUTABLE} / Version:
169
- # ${BISON_VERSION}" )
170
- endif ()
171
157
else () # Linux, OSX
172
158
# use -DBISON_DIR=/path/ to provide the path to bison
173
159
find_program (
0 commit comments