Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5201/ipol.2022.357
11 April 2026, 12:25:03 UTC
  • Code
  • Branches (0)
  • Releases (1)
  • Visits
    • Branches
    • Releases
      • 1
      • 1
    • d62b191
    • /
    • lrt
    • /
    • src
    • /
    • CMakeLists.txt
    Raw File Download

    To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
    Select below a type of object currently browsed in order to display its associated SWHID and permalink.

    • content
    • directory
    • snapshot
    • release
    origin badgecontent badge
    swh:1:cnt:c06339deec9b7e288bd725a916f5b103d4617ce1
    origin badgedirectory badge
    swh:1:dir:870ea71b4c31bdadae2e934d93dda02474573b4a
    origin badgesnapshot badge
    swh:1:snp:64067fcac522a7a8dfa8b312586abab7c7d92d7e
    origin badgerelease badge
    swh:1:rel:cde7e5f6bff1fc37a75332016deedd42abce72ac

    This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
    Select below a type of object currently browsed in order to generate citations for them.

    • content
    • directory
    • snapshot
    • release
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    CMakeLists.txt
    CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
    
    PROJECT(mmm_orsa C CXX)
    
    set(CMAKE_CXX_STANDARD 11)
    
    ENABLE_TESTING()
    
    INCLUDE_DIRECTORIES(
            experiments/
            ./demo/
            ./utilities/
            ./third_party/
            ./
    )
    
    IF (WIN32)
        INCLUDE_DIRECTORIES(
                third_party/jpeg
                third_party/zlib
                third_party/png)
    ENDIF (WIN32)
    
    MACRO(UNIT_TEST NAME EXTRA_LIBS)
        ADD_EXECUTABLE(${NAME}_test ${NAME}_test.cpp)
        TARGET_LINK_LIBRARIES(${NAME}_test
                ${EXTRA_LIBS} # Extra libs MUST be first.
                CppUnitLite)
        ADD_TEST(${NAME}_test ${NAME}_test)
    ENDMACRO(UNIT_TEST)
    
    ADD_SUBDIRECTORY(third_party) # Third party libraries
    ADD_SUBDIRECTORY(libOrsa)     # Orsa Core library
    ADD_SUBDIRECTORY(utilities)   # Utility files directory
    ADD_SUBDIRECTORY(demo)        # Demo directory
    ADD_SUBDIRECTORY(experiments)  # Experiment directory
    

    back to top

    Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
    The source code of Software Heritage itself is available on our development forge.
    The source code files archived by Software Heritage are available under their own copyright and licenses.
    Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API