-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement internal ktxdiff tool for comparing test output files
Mátyás Császár
committed
Jul 26, 2023
1 parent
1ae04f8
commit 34ca929
Showing
7 changed files
with
503 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> | ||
) |
Large diffs are not rendered by default.
Oops, something went wrong.
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