13 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
b3f042a0af get rid of DOCDIR 2016-02-13 21:17:23 +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
f4c28408e2 cmake: use VERSION file and add Git last hash 2014-09-02 15:20:54 +02:00
Guilherme Brondani Torri
567383c53d cmake: add test for HAVE_QTABWIDGET_SETMOVABLE
* could use QT_VERSION, but explit test was recommended by Octave devs
  to Richard Crozier
2014-05-23 10:49:10 +02:00
Guilherme Brondani Torri
80e948eb2a cmake: set to use bitmaps as resouces, fix config
Set to use qucs.qrc containig the bitmaps.
These will be included on the binary and not installed anymore.
Added variables to configure the config.h header.
2013-09-17 13:44:36 +02:00
Guilherme Brondani Torri
7d620382a1 bump cmake to 0.0.18 2013-06-24 17:02:28 +02:00
Guilherme Brondani Torri
53ce1e1f90 fix version string on config.h.cmake
It was messing up with version string on project files.
2013-06-14 20:35:19 +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