18 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
fdbbe9dd7e cmake: add toplevel scrip, fix include issue 2016-02-02 20:31:08 +01:00
Guilherme Brondani Torri
e0b990e7e2 cmake: get rid of relaase mode hack. 2016-02-02 20:31:08 +01:00
yodalee
a5e64b39a4 remove filter-v2 from build sequence 2015-04-13 12:25:23 +08: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
6bbbc10623 cmake: update handling of translations
* it does not refresh the .TS
* it does not merge the qtgeneric_XX.ts
* it only converts the available .ts to .qm and install
2014-11-11 20:13:46 +01:00
yodalee
dd3cd1c5b0 cmake modification to support subdirectory 2014-11-07 01:06:11 +08:00
Guilherme Brondani Torri
4228d700eb include qucsactivefilter into top CMakeLists 2014-10-03 19:29:06 +02: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
2a7947ccdf cmake: for qucs-rescodes 2014-08-23 19:00:32 +02:00
Guilherme Brondani Torri
cb2ab8c9d8 cmake: accomodate qucs-core for release mode build
* during release we flatten the repo, if that is the case, add
  qucs-core as a subdirectory to be configured
* fix also CMake target collision between `[lib]qucs` and `qucs` (GUI)
2014-08-22 11:22:10 +02:00
Guilherme Brondani Torri
1551a304db skip the build of qucs-filter-v2 on Darwin
The incomplete filter-v2 only builds withs -stdlib=libstc++
On OSX clang defaults to libstc++. \fixme
2014-04-05 02:07:17 +02:00
Guilherme Brondani Torri
54ca0244e9 various changes to build system 2014-04-05 00:58:31 +02:00
Guilherme Brondani Torri
6a37d60523 cmake: various fixes squashed
* fix tests, remove tr1
* remove cbesslj from math library
* add ecvs.cpp compontent to library
* fix tests, remove TR1
* add OSX clang libc++ flag
* adjust include headers needed to install
* set to use c++11 features
* link libqucs to libdl, for dlopen, dlclose
* add qucs_typedefs.h file config
* set PIC for x86_64
* fix path to generated headers
* add ps2sp to install
* install wrapper scripts qucsdigi,...
* fix build on win64
* generation of libucs on windows mingw, test reverted later
2014-04-04 16:20:08 +02:00
Guilherme Brondani Torri
b5a568124c cmake: add uninstall target to Qucs 2014-01-14 23:24:07 +01:00
Frans Schreuder
ea4f6b95dd Added dependencies / build scripts for nex export dialog 2013-11-21 14:54:55 +01:00
Guilherme Brondani Torri
5326ae7ae6 cmake: qucs-help, add other languages
All available languages are being installed.
2013-09-17 15:32: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