16 Commits

Author SHA1 Message Date
Vadim Kuznetzov
eba11e32ea Implemented building of two apllications with CMake
1. Added WITH_SPICE CMake variable. If it is not set usual Qucs will be
built. Application name is set to "qucs". If it is set, Qucs-S will be
built. Application name will be to "qucs-s".
2. Removed hardoced resources paths in "/usr/share/qucs", etc and
application names. Now resource paths depends on application name.
Resources will be installed into PREFIX/share/qucs-s/ for Qucs-S
3. Introduced a special definition QUCS_NAME in config.h. It will store
real application name.
4. Disabled default Debug mode for CMake
5. Exclude qucsattenuator, qucsedit, qucsresocdes, qucstrans, and qucshelp
(except docs) from the build system when building with WITH_SPICE switch
2016-07-22 14:57:44 +03:00
Guilherme Brondani Torri
7d0feb8b08 Remove LANGUAGEDIR definition.
The language files are installed into
  [prefix]/share/qucs/lang
regardless of the definition of LANGUAGEDIR.
2016-04-08 22:03:37 +02:00
Guilherme Brondani Torri
b3f042a0af get rid of DOCDIR 2016-02-13 21:17:23 +01:00
Guilherme Brondani Torri
f656794a31 LIBRARYDIR only relevant to qucs-lib 2016-02-06 05:40:52 +01:00
Guilherme Brondani Torri
a3bbbfdf92 remove traces of OCTAVEDIR 2016-02-06 05:37:32 +01:00
Guilherme Brondani Torri
915b1bd125 remove references to BINARYDIR 2016-02-06 05:33:38 +01:00
Guilherme Brondani Torri
7530640d99 remove references to BITMAPDIR 2016-02-06 05:31:03 +01:00
Guilherme Brondani Torri
dbf6ef26e1 [cmake] remove unrecognized compiler flag.
warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default]

This is unknown to mingw 4.8.2 and MSVC10.
2015-07-03 17:12:25 +02:00
yodalee
648081b5a4 add Wno-deprecated-register C++flags
disable noisy warning
2015-01-10 08:06:46 +08:00
Vadim Kuznetzov
a7a742fe25 Added to qucs-tools CMakeLists.txt 2015-01-08 18:54:39 +03:00
global667
e33a3ae388 Delete QT3_US_SUPPORT from all CMakesLists.txt
SET( QT_USE_QT3SUPPORT TRUE ) is delete from all CmakeLists.txt and adapting the souces, but "FIND_PACKAGE( Qt4 4.6.3 REQUIRED QtCore QtGui Qt3Support QtSvg QtXml QtScript)" in the root-CMakeLists.txt is unchanged. So Q3*-Header like Q3PtrList will not produce an error.
2014-11-27 20:16:14 +01:00
Guilherme Brondani Torri
f4c28408e2 cmake: use VERSION file and add Git last hash 2014-09-02 15:20:54 +02:00
Guilherme Brondani Torri
2d8a428b44 fix bug 168: cmake configuration
* add PACKAGE_VERSION to qucs-edit, qucs-filter, qucs-help, qucs-lib
* clean up some white spaces
2014-07-08 13:28:00 +02:00
Guilherme Brondani Torri
de4ae2e27a cmake: move remainig Mac app bundle into prefix/BIN
Just to match the current practice with Autotools.
2014-01-14 23:24:08 +01:00
Guilherme Brondani Torri
64a242bc62 cmake: install manpages 2013-09-17 15:59:14 +02:00
Guilherme Brondani Torri
ac527800a4 add initial cmake for qucs-help
Only English (en) so far.
2013-09-17 14:01:15 +02:00