mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00

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
11 lines
258 B
CMake
Executable File
11 lines
258 B
CMake
Executable File
|
|
#define QUCS_NAME "@QUCS_NAME@"
|
|
|
|
#define PACKAGE_VERSION "@PROJECT_VERSION@"
|
|
#define PACKAGE_STRING "qucs @PROJECT_VERSION@"
|
|
|
|
#define HAVE_QTABWIDGET_SETMOVABLE "@HAVE_QTABWIDGET_SETMOVABLE@"
|
|
#define WITH_SPICE "@WITH_SPICE@"
|
|
|
|
#define GIT "@GIT@"
|