diff --git a/qucs/CMakeLists.txt b/qucs/CMakeLists.txt index 86b27424..50fdf2a1 100755 --- a/qucs/CMakeLists.txt +++ b/qucs/CMakeLists.txt @@ -313,6 +313,16 @@ INSTALL( FILES ${SCRIPTS} DESTINATION bin/ ) INSTALL( FILES ${QUCS_NAME}.1 DESTINATION share/man/man1 ) +# Install wrapper scripts +IF(WIN32) + SET(SCRIPTS qucs_run_hdl.bat qucs_run_verilog.bat qucs_mkdigilib.bat) +ELSE() + SET(SCRIPTS qucs_run_hdl qucs_run_verilog qucs_mkdigilib) +ENDIF() +INSTALL( FILES ${SCRIPTS} PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ + GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION bin/ ) + + # To Create a package, one can run "cpack -G DragNDrop CPackConfig.cmake" on Mac OS X # where CPackConfig.cmake is created by including CPack # And then there's ways to customize this as well diff --git a/qucs/qucsdigilib b/qucs/qucs_mkdigilib similarity index 100% rename from qucs/qucsdigilib rename to qucs/qucs_mkdigilib diff --git a/qucs/qucsdigilib.bat b/qucs/qucs_mkdigilib.bat similarity index 100% rename from qucs/qucsdigilib.bat rename to qucs/qucs_mkdigilib.bat diff --git a/qucs/qucsdigi b/qucs/qucs_run_hdl old mode 100644 new mode 100755 similarity index 100% rename from qucs/qucsdigi rename to qucs/qucs_run_hdl diff --git a/qucs/qucsdigi.bat b/qucs/qucs_run_hdl.bat similarity index 100% rename from qucs/qucsdigi.bat rename to qucs/qucs_run_hdl.bat diff --git a/qucs/qucsveri b/qucs/qucs_run_verilog similarity index 100% rename from qucs/qucsveri rename to qucs/qucs_run_verilog diff --git a/qucs/qucsveri.bat b/qucs/qucs_run_verilog.bat similarity index 100% rename from qucs/qucsveri.bat rename to qucs/qucs_run_verilog.bat