Add ktx
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 4.3
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/abdelrahman/Sources/programming/how-to-vulkan/ktx")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/abdelrahman/Sources/programming/how-to-vulkan/ktx/build")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
||||
@@ -0,0 +1,167 @@
|
||||
# This file is configured by CMake automatically as CTestScript.cmake
|
||||
# If you choose not to use CMake, this file may be hand configured, by
|
||||
# filling in the required variables.
|
||||
|
||||
cmake_minimum_required(VERSION 4.3.3)
|
||||
|
||||
# CTest Start Step
|
||||
set(CTEST_SOURCE_DIRECTORY "/home/abdelrahman/Sources/programming/how-to-vulkan/ktx/external/astc-encoder")
|
||||
set(CTEST_BINARY_DIRECTORY "/home/abdelrahman/Sources/programming/how-to-vulkan/ktx/build/external/astc-encoder")
|
||||
|
||||
# CTest Update Step
|
||||
set(CTEST_UPDATE_COMMAND "")
|
||||
set(CTEST_UPDATE_OPTIONS "")
|
||||
set(CTEST_UPDATE_VERSION_ONLY "")
|
||||
set(CTEST_NIGHTLY_START_TIME "00:00:00 EDT")
|
||||
|
||||
# CVS options
|
||||
set(CTEST_CVS_COMMAND "")
|
||||
set(CTEST_CVS_UPDATE_OPTIONS "")
|
||||
|
||||
# Subversion options
|
||||
set(CTEST_SVN_COMMAND "")
|
||||
set(CTEST_SVN_OPTIONS "")
|
||||
set(CTEST_SVN_UPDATE_OPTIONS "")
|
||||
|
||||
# Git options
|
||||
set(CTEST_GIT_COMMAND "")
|
||||
set(CTEST_GIT_INIT_SUBMODULES "")
|
||||
set(CTEST_GIT_UPDATE_CUSTOM "")
|
||||
set(CTEST_GIT_UPDATE_OPTIONS "")
|
||||
|
||||
# Perforce options
|
||||
set(CTEST_P4_COMMAND "")
|
||||
set(CTEST_P4_CLIENT "")
|
||||
set(CTEST_P4_OPTIONS "")
|
||||
set(CTEST_P4_UPDATE_CUSTOM "")
|
||||
set(CTEST_P4_UPDATE_OPTIONS "")
|
||||
|
||||
# CTest Configure Step
|
||||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
|
||||
set(CTEST_LABELS_FOR_SUBPROJECTS "")
|
||||
|
||||
# CTest Build Step
|
||||
set(CTEST_CONFIGURATION_TYPE "Release")
|
||||
set(CTEST_USE_LAUNCHERS "")
|
||||
|
||||
# CTest Test Step
|
||||
set(CTEST_RESOURCE_SPEC_FILE "")
|
||||
set(CTEST_TEST_LOAD "")
|
||||
set(CTEST_TEST_TIMEOUT "1500")
|
||||
|
||||
# CTest Coverage Step
|
||||
set(CTEST_COVERAGE_COMMAND "/usr/bin/gcov")
|
||||
set(CTEST_COVERAGE_EXTRA_FLAGS "-l")
|
||||
|
||||
# CTest MemCheck Step
|
||||
set(CTEST_MEMORYCHECK_COMMAND "/usr/bin/valgrind")
|
||||
set(CTEST_MEMORYCHECK_COMMAND_OPTIONS "")
|
||||
set(CTEST_MEMORYCHECK_TYPE "")
|
||||
set(CTEST_MEMORYCHECK_SANITIZER_OPTIONS "")
|
||||
set(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE "")
|
||||
|
||||
# CTest Submit Step
|
||||
set(CTEST_SITE "wappdesktop")
|
||||
set(CTEST_BUILD_NAME "Linux-c++")
|
||||
set(CTEST_SUBMIT_URL "http://")
|
||||
set(CTEST_SUBMIT_INACTIVITY_TIMEOUT "")
|
||||
set(CTEST_TLS_VERIFY "")
|
||||
set(CTEST_TLS_VERSION "")
|
||||
|
||||
################################################################################
|
||||
|
||||
if(NOT MODEL)
|
||||
set(MODEL "Experimental")
|
||||
endif()
|
||||
|
||||
if(MODEL STREQUAL "NightlyMemoryCheck")
|
||||
set(MODEL "Nightly")
|
||||
set(ACTIONS "Start;Update;Configure;Build;MemCheck;Coverage;Submit")
|
||||
endif()
|
||||
|
||||
if(NOT ACTIONS)
|
||||
if(MODEL STREQUAL "Experimental")
|
||||
set(ACTIONS "Start;Configure;Build;Test;Coverage;Submit")
|
||||
else()
|
||||
set(ACTIONS "Start;Update;Configure;Build;Test;Coverage;Submit")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
|
||||
set(_exit_code 0)
|
||||
|
||||
if("Start" IN_LIST ACTIONS OR NOT EXISTS "${CTEST_BINARY_DIRECTORY}/Testing/TAG")
|
||||
ctest_start("${MODEL}")
|
||||
else()
|
||||
ctest_start("${MODEL}" APPEND)
|
||||
endif()
|
||||
|
||||
if("Update" IN_LIST ACTIONS)
|
||||
ctest_update(RETURN_VALUE update_count)
|
||||
if(update_count LESS 0)
|
||||
math(EXPR _exit_code "${_exit_code} | 0x01")
|
||||
endif()
|
||||
if(MODEL STREQUAL "Continuous" AND update_count EQUAL 0)
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if("Configure" IN_LIST ACTIONS)
|
||||
ctest_configure(RETURN_VALUE success)
|
||||
if(success LESS 0)
|
||||
math(EXPR _exit_code "${_exit_code} | 0x02")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if("Build" IN_LIST ACTIONS)
|
||||
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
|
||||
ctest_build(RETURN_VALUE success)
|
||||
if(NOT success EQUAL 0)
|
||||
math(EXPR _exit_code "${_exit_code} | 0x04")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if("Test" IN_LIST ACTIONS)
|
||||
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
|
||||
ctest_test(RETURN_VALUE success)
|
||||
if(NOT success EQUAL 0)
|
||||
math(EXPR _exit_code "${_exit_code} | 0x08")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if("Coverage" IN_LIST ACTIONS)
|
||||
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
|
||||
ctest_coverage(RETURN_VALUE success)
|
||||
if(NOT success EQUAL 0)
|
||||
math(EXPR _exit_code "${_exit_code} | 0x20")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if("MemCheck" IN_LIST ACTIONS)
|
||||
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
|
||||
ctest_memcheck(RETURN_VALUE success)
|
||||
if(NOT success EQUAL 0)
|
||||
math(EXPR _exit_code "${_exit_code} | 0x10")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
file(GLOB notes_files LIST_DIRECTORIES OFF
|
||||
"${CTEST_BINARY_DIRECTORY}/Testing/Notes/*")
|
||||
if(notes_files)
|
||||
list(APPEND CTEST_NOTES_FILES "${notes_files}")
|
||||
endif()
|
||||
|
||||
if("Submit" IN_LIST ACTIONS)
|
||||
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
|
||||
ctest_submit(
|
||||
RETRY_COUNT "3"
|
||||
RETRY_DELAY "5"
|
||||
RETURN_VALUE success
|
||||
)
|
||||
if(NOT success EQUAL 0)
|
||||
math(EXPR _exit_code "${_exit_code} | 0x40")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
cmake_language(EXIT "${_exit_code}")
|
||||
@@ -0,0 +1 @@
|
||||
13
|
||||
Reference in New Issue
Block a user