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
13 lines
509 B
CMake
13 lines
509 B
CMake
|
|
|
|
SET(HTML characters.html internal.html mathfunc.html short.html start_digi.html subcircuit.html
|
|
index.html matching.html programs.html start.html start_opt.html)
|
|
|
|
SET(PNGS contab.png optimization3.png optimization6.png paste.png select.png
|
|
optimization1.png optimization4.png optimization7.png qucsdigi.png subcircuit.png
|
|
optimization2.png optimization5.png optimization8.png qucsmain.png wire.png)
|
|
|
|
# installation of documentation
|
|
INSTALL(FILES ${HTML} ${PNGS} DESTINATION share/${QUCS_NAME}/docs/pt)
|
|
|