install_sim.cmake 664 B

1234567891011121314151617181920212223242526272829
  1. function(INSTALL_SIM SIM_NAME SIM_INSTALL_DIR)
  2. install (TARGETS ${SIM_NAME} DESTINATION ${SIM_INSTALL_DIR})
  3. install (FILES
  4. "options_${SIM_NAME}.cfg"
  5. "settings_${SIM_NAME}.cfg"
  6. DESTINATION
  7. "${SIM_INSTALL_DIR}"
  8. )
  9. install (PROGRAMS
  10. "simcontrol_${SIM_NAME}.tcl"
  11. "simeval_${SIM_NAME}.tcl"
  12. startsim
  13. clstartsim
  14. DESTINATION "${SIM_INSTALL_DIR}")
  15. endfunction(INSTALL_SIM)
  16. function(INSTALL_SIM2 SIM_NAME SIM_INSTALL_DIR)
  17. install (TARGETS ${SIM_NAME} DESTINATION ${SIM_INSTALL_DIR})
  18. install (PROGRAMS
  19. startsim
  20. DESTINATION "${SIM_INSTALL_DIR}")
  21. endfunction(INSTALL_SIM2)