-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve output determinism and add internal ktxdiff tool for comparin…
…g test outputs (#745) * Implement internal ktxdiff tool for comparing test output files. * Fix color conversion overflow.
- Loading branch information
Császár Mátyás
authored
Jul 31, 2023
1 parent
dab32db
commit 7f67af7
Showing
7 changed files
with
564 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 2022-2023 The Khronos Group Inc. | ||
# Copyright 2022-2023 RasterGrid Kft. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
|
||
add_executable(ktxdiff | ||
ktxdiff_main.cpp | ||
) | ||
|
||
set_target_properties( | ||
ktxdiff | ||
PROPERTIES | ||
CXX_STANDARD 17 | ||
CXX_STANDARD_REQUIRED YES | ||
) | ||
|
||
target_include_directories( | ||
ktxdiff | ||
PRIVATE | ||
. | ||
$<TARGET_PROPERTY:ktx,INCLUDE_DIRECTORIES> | ||
) | ||
|
||
target_include_directories( | ||
ktxdiff | ||
SYSTEM | ||
PRIVATE | ||
${PROJECT_SOURCE_DIR}/lib | ||
${PROJECT_SOURCE_DIR}/other_include | ||
) | ||
|
||
target_link_libraries( | ||
ktxdiff | ||
PRIVATE | ||
ktx | ||
${ASTCENC_LIB_TARGET} | ||
fmt::fmt | ||
) | ||
|
||
target_compile_definitions( | ||
ktxdiff | ||
PRIVATE | ||
$<TARGET_PROPERTY:ktx,INTERFACE_COMPILE_DEFINITIONS> | ||
) |
Oops, something went wrong.