public:user_software:cr-tools:creating_a_new_application

This is an old revision of the document!


User Software :: CR-Tools :: Creating a new application

Note: At the time being there is no automated manner by which to handle the creation of a new application.

  1. Create a new source file in the applications directory
    lofarsoft
    `-- src
        `-- CR-Tools
            |-- apps                   <-- new application goes here
            |   `-- CMakeLists.txt
            |-- implement
            `-- test
  2. Add an entry to the CMakeLists.txt in the applications directory:
    ## -------------------------------------------------------------------
    ##                                                      simStationBeam
     
    if (HAVE_CASACORE)
      add_executable (simStationBeam simStationBeam.cc)
      ## linker instructions
      target_link_libraries (simStationBeam cr)
      ## installation instructions
      install (TARGETS simStationBeam
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        )
    endif (HAVE_CASACORE)



User SoftwareCR-Tools

  • Last modified: 2011-10-18 14:10
  • by Lars Bahren