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

Revision 11045617aa83f22895897e45d021b524d3a6acb9 authored by COCCO Giovanni on 28 February 2025, 12:08:40 UTC, committed by COCCO Giovanni on 28 February 2025, 12:08:40 UTC
Improve compilation instructions
1 parent 3b61880
  • Files
  • Changes
  • 0ee58b7
  • /
  • Editor.pro
Raw File Download
Permalinks

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.

  • revision
  • directory
  • content
revision badge
swh:1:rev:11045617aa83f22895897e45d021b524d3a6acb9
directory badge Iframe embedding
swh:1:dir:0ee58b7d90b9d86c34800a3c4bc6b4fb856bc60b
content badge Iframe embedding
swh:1:cnt:73dad22df8ec108175b991061c46337d7399af7d
Citations

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.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Editor.pro
QT += widgets
DESTDIR = $$PWD

HEADERS += \
    src/Texture/cubemap.h \
    src/Field/optimizer.h \
    src/Field/anisotropy.h \
    src/Render/constraints.h \
    src/Render/montecarlo.h \
    src/Render/mesh.h \
    src/Render/objloader.h \
    src/Render/render.h \
    src/Texture/texture.h \
    src/UI/constraintseditor.h \
    src/UI/menubar.h \
    src/UI/newproject.h \
    src/UI/renderingsettings.h \
    src/UI/optimizersettings.h \
    src/UI/toolbar.h \
    src/UI/bottombar.h \
    src/UI/vulkanwindow.h \
    src/UI/mainapp.h

SOURCES += \
    src/Texture/cubemap.cpp \
    src/Field/optimizer.cpp \
    src/Field/anisotropy.cpp \
    src/Render/constraints.cpp \
    src/Render/montecarlo.cpp \
    src/Render/mesh.cpp \
    src/Render/objloader.cpp \
    src/Render/render.cpp \
    src/Texture/texture.cpp \
    src/UI/constraintseditor.cpp \
    src/UI/menubar.cpp \
    src/UI/newproject.cpp \
    src/UI/renderingsettings.cpp \
    src/UI/optimizersettings.cpp \
    src/UI/toolbar.cpp \
    src/UI/bottombar.cpp \
    src/UI/vulkanwindow.cpp \
    src/UI/mainapp.cpp \
    src/main.cpp

SHADERS += \
    src/Field/Shaders/dir2cov.comp \
    src/Field/Shaders/dir2zebra.comp \
    src/Field/Shaders/dir2dir.comp \
    src/Field/Shaders/half2dir.comp \
    src/Field/Shaders/imageImporter.comp \
    src/Field/Shaders/imageExporter.comp \
    src/Field/Shaders/init.vert \
    src/Field/Shaders/init.frag \
    src/Field/Shaders/init.tesc \
    src/Field/Shaders/init.tese \
    src/Field/Shaders/init.comp \
    src/Field/Shaders/smooth.comp \
    src/Field/Shaders/finalize.comp \
    src/Field/Shaders/restrict.comp \
    src/Field/Shaders/prolong.comp \
    src/Texture/Shaders/cubeIntegrator.comp \
    src/Render/Shaders/accurate.vert \
    src/Render/Shaders/accurate.frag \
    src/Render/Shaders/fast.vert \
    src/Render/Shaders/fast.frag \
    src/Render/Shaders/bent.vert \
    src/Render/Shaders/bent.frag \
    src/Render/Shaders/direction.vert \
    src/Render/Shaders/direction.frag \
    src/Render/Shaders/twilight.vert \
    src/Render/Shaders/twilight.frag \
    src/Render/Shaders/sine.vert \
    src/Render/Shaders/sine.frag \
    src/Render/Shaders/reference.vert \
    src/Render/Shaders/reference.frag \
    src/Render/Shaders/resolve.vert \
    src/Render/Shaders/resolve.frag \
    src/Render/Shaders/copy.vert \
    src/Render/Shaders/copy.frag \
    src/Render/Shaders/constraint.vert \
    src/Render/Shaders/constraint.frag \
    src/Render/Shaders/constraint.tese \
    src/Render/Shaders/constraint.tesc \
    src/Render/Shaders/handle.vert \
    src/Render/Shaders/handle.frag

createShaderDir.target = $$PWD/assets/shaders
createShaderDir.commands = $(MKDIR) $$shell_path($$PWD/assets/shaders)
QMAKE_EXTRA_TARGETS += createShaderDir
PRE_TARGETDEPS += $$PWD/assets/shaders

for (in, SHADERS) {
    nameList = $$split(in, ".")
    ext = $$member(nameList, -1, -1)
    nameListNoExt = $$member(nameList, 0, -2)
    shader = $$join(nameListNoExt, ".")

    name = compile_$$in
    target = "compile_$${in}.target"
    commands = "compile_$${in}.commands"
    depends = "compile_$${in}.depends"

    $$target = $$PWD/assets/shaders/$$basename(shader)_$${ext}.spv
    $$commands = glslc $$PWD/$${shader}.$${ext} -o $$PWD/assets/shaders/$$basename(shader)_$${ext}.spv
    $$depends = $$PWD/$${shader}.$${ext}
    QMAKE_EXTRA_TARGETS += $$name
    POST_TARGETDEPS += $$PWD/assets/shaders/$$basename(shader)_$${ext}.spv
}
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

Software Heritage — Copyright (C) 2015–2025, 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— Contact— JavaScript license information— Web API

back to top