Skip to content
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4added4
Adjust output directory to better work with CMake
ViNeek Dec 15, 2025
6ecf390
update to latest Khronos Data Format Specification
ViNeek Dec 15, 2025
1423327
Add CMake build script
ViNeek Dec 15, 2025
3637fca
Add dfdutils CMake target
ViNeek Dec 23, 2025
a32138f
Remove unneeded compile options from CMake script
ViNeek Dec 23, 2025
973e6b6
Add dfdutils library public include dirs
ViNeek Dec 23, 2025
f338219
Remove old build system files
ViNeek Jan 8, 2026
e3719c7
Remove .doxy-based documentation generation in favor of CMake's built…
ViNeek Jan 8, 2026
a0c40fc
Improve and simplify CMake script
ViNeek Jan 8, 2026
998fb3f
Add missing switch cases for HDR models
ViNeek Jan 9, 2026
64ae8e5
FIX typo
ViNeek Jan 9, 2026
a020d8b
Set install targets and allow both STATIC and OBJECT type linking
ViNeek Jan 9, 2026
e05b9ad
Add targets for dfd2vk_inl and vk2dfd_inl even when Perl is missing
ViNeek Jan 9, 2026
491a9d7
Add license to CMake script
ViNeek Jan 15, 2026
8b32c71
Add UNUSED macro to silence unused parameter warnings
ViNeek Jan 15, 2026
bba1a4c
Update CMake to build dfdutils as an object library
ViNeek Jan 16, 2026
748d3ca
Remove include directories directive
ViNeek Jan 16, 2026
7735d13
Add missing printdfd cases for HDR
ViNeek Jan 29, 2026
4d4a924
Match latest KDFS changes and typo fixes
ViNeek Feb 4, 2026
ee067bf
Merge branch 'main' into development
ViNeek Feb 4, 2026
07dbae3
Match latest KDFS changes and typo fixes
ViNeek Feb 4, 2026
435a010
Use proper string enum
ViNeek Feb 6, 2026
525af6b
merge with upstream
ViNeek Feb 9, 2026
dd71b9d
Support both STATIC and OBJECT type linking of dfdutils
ViNeek Feb 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)

option( DFDUTILS_TESTAPPS "Enable DFD Utils tests." ON)
option( DFDUTILS_EMBED "Embed DFD Utils library via object library" OFF)

# Output directory used for all build artifacts
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
Expand Down Expand Up @@ -62,10 +63,15 @@ add_custom_target(vk2dfd_inl
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/vk2dfd.inl
)

set(DFDUTILS_LINK_TYPE STATIC)
if(DFDUTILS_EMBED)
set(DFDUTILS_LINK_TYPE OBJECT)
endif()

#
# --- DFD Utils library ---
#
add_library(dfdutils OBJECT
add_library(dfdutils ${DFDUTILS_LINK_TYPE}
createdfd.c
colourspaces.c
dfd.h
Expand Down