Skip to content

Commit c4612c9

Browse files
committed
cmake:core: minor cleanup
1 parent 3821d00 commit c4612c9

File tree

1 file changed

+9
-23
lines changed

1 file changed

+9
-23
lines changed

qucs-core/CMakeLists.txt

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# ~~~
22

3-
# !!!! EXPERIMENTAL/DEVELOPMENT BUILD SYSTEM !!!! If you need support please
4-
# contact the maintainers
5-
63
#
74
# You can change the install location by running cmake like this: mkdir build;
85
# cd build cmake .. -DCMAKE_INSTALL_PREFIX=/new/install/prefix
96

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]
1312

1413
# Running with QtCreator Open this CMakeLists.txt with 'Open File or Project..."
1514
# Provide CMake arguments: * Set admsXml path, (after building with Autotools) *
@@ -22,11 +21,10 @@
2221
# variable on the Build Environment. Prepend '/usr/local/bin' before '/usr/bin/'
2322
# otherwise it will find the older executables provided by Apple.
2423

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
3028
#
3129

3230
# ~~~
@@ -39,10 +37,6 @@ if(POLICY CMP0048)
3937
cmake_policy(SET CMP0048 OLD)
4038
endif(POLICY CMP0048)
4139

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)
4640

4741
# otherwise qucsator cannot generate qucsdefs.h
4842
add_definitions(-DDEBUG)
@@ -83,9 +77,6 @@ message(STATUS "Configuring ${PROJECT_NAME}: VERSION ${QUCS_VERSION}")
8377
set(PROJECT_VERSION "${QUCS_VERSION}")
8478

8579
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")
8980

9081
set(QUCS_URL "https://sf.net/p/qucs")
9182
set(QUCS_BUGREPORT "qucs-bugs@lists.sourceforge.net")
@@ -151,7 +142,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")
151142
#
152143
find_package(FLEX 2.5.9 REQUIRED)
153144
if(FLEX_FOUND)
154-
# MESSAGE(STATUS "Found flex: ${FLEX_EXECUTABLE} / Version: ${FLEX_VERSION}" )
155145
endif()
156146

157147
# ~~~
@@ -164,10 +154,6 @@ endif()
164154
# ~~~
165155
if(WIN32)
166156
find_package(BISON 2.4 REQUIRED)
167-
if(BISON_FOUND)
168-
# MESSAGE(STATUS "Found bison: ${BISON_EXECUTABLE} / Version:
169-
# ${BISON_VERSION}" )
170-
endif()
171157
else() # Linux, OSX
172158
# use -DBISON_DIR=/path/ to provide the path to bison
173159
find_program(

0 commit comments

Comments
 (0)