17 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
d354adc760 Remove LIBRARYDIR definition.
The qucs-lib/library/[Makefile.am | CMakeLists.txt] are installing
the libraries into [prefix]/share/quscs/library/ regardless of the
definition of LIBRARYDIR.
2016-04-08 22:03:37 +02:00
Guilherme Brondani Torri
da81c032b1 DOCDIR only matters to qusc-help 2016-02-06 05:44:26 +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
in3otd
b893be343b Make the library search like the Qucs Component search
The Library Tool was using a somewhat cumbersome search, forcing
the user to open a separate dialog for searching.
A search box is now included in the main Library Tool window and
provides an 'instant search' feature, like the main Qucs window
does for the standard component search.
The old Search Dialog widget files are removed.
2015-07-26 22:46:14 +02: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
ef1cf8355d cmake: build/bundle qucs-edit and qucs-lib 2013-09-17 15:52:09 +02:00
Guilherme Brondani Torri
a148782cbe added CMake configuration files for Qucs GUI components
These are not (yet) supposed to replace the autotools building.
They can build and install all the GUI apps.
The CMakeLists.txt on each tool subfolder can be used as
an existing project on Qt Creator.
2013-06-02 21:49:14 +02:00