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/jingma-git/RealSkel
17 May 2026, 14:06:28 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    No releases to show
  • e9fcf99
  • /
  • 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:ae7416397e58e2d0c70946fce1e938e05d0ff3a3
origin badgedirectory badge
swh:1:dir:e9fcf99317635520e080e24931097e3cf049dd3d
origin badgerevision badge
swh:1:rev:8999b0bc5b9ad2a29d852e212afdda5d44636a07
origin badgesnapshot badge
swh:1:snp:bedadd62e06da70aa8c3cc0f7512596cbc69875e

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: 8999b0bc5b9ad2a29d852e212afdda5d44636a07 authored by jingma-git on 16 November 2021, 15:16:38 UTC
Cat tutorail
Tip revision: 8999b0b
CMakeLists.txt

cmake_minimum_required(VERSION 3.1)
project(RealSkel)

#################### Set CMake Configure Variables ################################
set(CMAKE_BUILD_TYPE RELEASE) # DEBUG
# set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address,undefined")
set(CMAKE_CXX_STANDARD 14)

if(MSVC) # Windows
  set(QT_INSTALL_PATH E:/Qt/Qt5.12/5.12.2/msvc2017_64) # !!! set "your own QT install path"
  set(Qt5Core_DIR ${QT_INSTALL_PATH}/lib/cmake/Qt5Core) # !!! set "your own path"
  set(Qt5Widgets_DIR ${QT_INSTALL_PATH}/lib/cmake/Qt5Widgets) # !!! set "your own path"
  set(Qt5Gui_DIR ${QT_INSTALL_PATH}/lib/cmake/Qt5Gui)  # !!! set "your own path"
  set(Qt5OpenGL_DIR ${QT_INSTALL_PATH}/lib/cmake/Qt5OpenGL) # !!! set "your own path"

  set(OpenCV_DIR E:/thirdparty/opencv-4.2.0/build/install) # !!! set "your own path"

  set(Boost_INCLUDE_DIR E:/thirdparty/boost_1_74_0) # !!! set "your own path"
  set(BOOST_LIBRARYDIR E:/thirdparty/boost_1_74_0/lib64-msvc-14.2) # !!! set "your own path"
else() # Unix
  set(QT_INSTALL_PATH /opt/Qt5.12.2/5.10.0/gcc_64) # !!! set "your own QT install path"
  # Change Qt Dir if there is multiple Qt versions in your system
  # https://unix.stackexchange.com/questions/414904/anaconda-qt-vs-system-qt
  file( GLOB_RECURSE sres ${QT_INSTALL_PATH}/*/Qt5Config.cmake )
  message("-- Qt resouce ${sres}")
  get_filename_component( Qt5_DIR ${sres} DIRECTORY )
  message("-- Qt5_DIR resouce ${Qt5_DIR}")
  set(QT_QMAKE_EXECUTABLE ${QT_INSTALL_PATH}/bin/qmake)

  cmake_policy(SET CMP0072 OLD) # OpenGL https://github.com/PointCloudLibrary/pcl/issues/3065
endif()

# Qt
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)



#################### Find-Package ##################################################
# Find the Qt Related libraries
find_package(OpenGL REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Gui REQUIRED)
find_package(Qt5Core REQUIRED)
find_package(Qt5OpenGL REQUIRED)

include_directories(${Qt5Widgets_INCLUDE_DIRS})
include_directories(${Qt5Gui_INCLUDE_DIRS})
include_directories(${Qt5Core_INCLUDE_DIRS})
include_directories(${Qt5OpenGL_INCLUDE_DIRS})


add_subdirectory(core) # my own library milk
add_subdirectory(viewer)
include_directories(./)


#################### Link & Compile ###############################################
file(GLOB SRC "viewer/*.h" "./viewer/*.cpp" ./viewer/sketchapp.qrc)
add_executable(main main.cpp ${SRC})
if(UNIX)
  target_link_libraries(
    main
    PUBLIC
      milk
      GL
      Qt5::Core Qt5::Gui Qt5::Widgets Qt5::OpenGL
      ${OpenCV_LIBS}
  )
endif()

if(MSVC)
  target_link_libraries(
    main
    PUBLIC
      milk
      Qt5::Core Qt5::Gui Qt5::Widgets Qt5::OpenGL
      ${OpenCV_LIBS}
      OpenGL32.lib
  )
endif()

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