Add ktx
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Copyright 2017-2020 The Khronos Group Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_executable( ktx2check
|
||||
ktx2check.cpp
|
||||
)
|
||||
create_version_header( tools/ktx2check ktx2check )
|
||||
|
||||
set_target_properties(
|
||||
ktx2check PROPERTIES
|
||||
CXX_VISIBILITY_PRESET ${STATIC_APP_LIB_SYMBOL_VISIBILITY}
|
||||
)
|
||||
|
||||
target_compile_features(
|
||||
ktx2check
|
||||
PUBLIC
|
||||
# C++14 for std::make_unique on AppleClang and Linux GCC
|
||||
cxx_std_14
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
ktx2check
|
||||
PRIVATE
|
||||
.
|
||||
$<TARGET_PROPERTY:ktx,INCLUDE_DIRECTORIES>
|
||||
$<TARGET_PROPERTY:objUtil,INTERFACE_INCLUDE_DIRECTORIES>
|
||||
${PROJECT_SOURCE_DIR}/lib
|
||||
${PROJECT_SOURCE_DIR}/other_include
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
ktx2check
|
||||
ktx
|
||||
objUtil
|
||||
)
|
||||
|
||||
set_tool_properties(ktx2check)
|
||||
set_code_sign(ktx2check)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
// [Code version]
|
||||
exitcode-128-NOTFOUND
|
||||
// [Code version]
|
||||
*/
|
||||
#define KTX2CHECK_VERSION exitcode-128-NOTFOUND
|
||||
#define KTX2CHECK_DEFAULT_VERSION v4.0.__default__
|
||||
Reference in New Issue
Block a user