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://github.com/unlin/libbwabstraction
02 July 2024, 03:47:45 UTC
  • Code
  • Branches (3)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/tags/v0.1
    • refs/tags/v0.2
    No releases to show
  • e393547
  • /
  • cmakelists.txt
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

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
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:09d0e8d69a5d5aab26a6a5bcb5e48b434927cb64
origin badgedirectory badge
swh:1:dir:e39354773daaa058bb732a8da830d1f8b960b3f4
origin badgerevision badge
swh:1:rev:8c90648f07f68d37b9b0ad0581e44fa069aa758a
origin badgesnapshot badge
swh:1:snp:cb883043adc01860813783e30023d60370b3e719

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
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: 8c90648f07f68d37b9b0ad0581e44fa069aa758a authored by unlin on 24 October 2019, 15:04:51 UTC
Update Readme.md.
Tip revision: 8c90648
cmakelists.txt
cmake_minimum_required(VERSION 3.1)
project(libbwabstraction)

set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")

find_package(OpenCV REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED)
find_package(OpenMesh REQUIRED)
find_package(CGAL REQUIRED)
find_package(GMP REQUIRED)
find_package(GLEW REQUIRED)
find_package(GLFW3 REQUIRED)
find_package(OPENGL REQUIRED)

include_directories(
    src
    ${EIGEN3_INCLUDE_DIR}
    ${CGAL_INCLUDE_DIRS}
    ${OPENMESH_INCLUDE_DIR}
    ${GLEW_INCLUDE_PATH}
    ${GLFW3_INCLUDE_PATH}
    ${GMP_INCLUDE_DIR}
    ${OpenCV_INCLUDE_DIRS}
)

file(GLOB libbwabstraction_src "src/*.cpp")
add_library(libbwabstraction ${libbwabstraction_src})
set_target_properties(libbwabstraction PROPERTIES PUBLIC_HEADER "src/bwabstraction.hpp")
install(TARGETS libbwabstraction
	LIBRARY DESTINATION lib/
	PUBLIC_HEADER DESTINATION include/
)

add_definitions(-D_USE_MATH_DEFINES)

set(EXE_LINK_LIBS
    libbwabstraction
    Eigen3::Eigen
    CGAL::CGAL
    ${OpenCV_LIBS}
    ${Boost_LOG_SETUP_LIBRARY}
    ${Boost_LOG_LIBRARY}
    ${Boost_FILESYSTEM_LIBRARY}
    ${Boost_THREAD_LIBRARY}
    ${Boost_SYSTEM_LIBRARY}
    ${OPENMESH_LIBRARIES}
    ${GMP_LIBRARIES}
    ${GLEW_LIBRARY}
    ${GLFW3_LIBRARY}
    ${OPENGL_LIBRARY}
)

add_executable(01_basic examples/01_basic.cpp)
target_link_libraries(01_basic ${EXE_LINK_LIBS})

add_executable(02_rotation examples/02_rotation.cpp)
target_link_libraries(02_rotation ${EXE_LINK_LIBS})

add_executable(03_multiple_models examples/03_multiple_models.cpp)
target_link_libraries(03_multiple_models ${EXE_LINK_LIBS})

add_executable(benchmark tools/benchmark.cpp)
target_link_libraries(benchmark ${EXE_LINK_LIBS})

add_executable(bwa_cli tools/cli.cpp)
target_link_libraries(bwa_cli ${EXE_LINK_LIBS})

#get_cmake_property(_variableNames VARIABLES)
#list (SORT _variableNames)
#foreach (_variableName ${_variableNames})
#    message(STATUS "${_variableName}=${${_variableName}}")
#endforeach()

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