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
9 lines
127 B
CMake
9 lines
127 B
CMake
|
|
SET(AN_CM_resources
|
|
etd.mod
|
|
etd.ifs
|
|
)
|
|
|
|
INSTALL( FILES ${AN_CM_resources} DESTINATION share/${QUCS_NAME}/library/AnalogueCM )
|
|
|