mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-20 05:08:04 +00:00
implemented ncurses termninal renderer
This commit is contained in:
parent
bec56e68a4
commit
77d3fc4e82
@ -6,7 +6,8 @@ add_subdirectory("examples/cpp-project-example")
|
|||||||
# Don't try to compile C99 projects using MSVC
|
# Don't try to compile C99 projects using MSVC
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_subdirectory("examples/raylib-sidebar-scrolling-container")
|
add_subdirectory("examples/raylib-sidebar-scrolling-container")
|
||||||
add_subdirectory("examples/cairo-pdf-rendering")
|
add_subdirectory("examples/textui-sidebar-scrolling-container")
|
||||||
|
# add_subdirectory("examples/cairo-pdf-rendering")
|
||||||
add_subdirectory("examples/clay-official-website")
|
add_subdirectory("examples/clay-official-website")
|
||||||
add_subdirectory("examples/introducing-clay-video-demo")
|
add_subdirectory("examples/introducing-clay-video-demo")
|
||||||
endif()
|
endif()
|
||||||
|
377
examples/textui-sidebar-scrolling-container/CMakeCache.txt
Normal file
377
examples/textui-sidebar-scrolling-container/CMakeCache.txt
Normal file
@ -0,0 +1,377 @@
|
|||||||
|
# This is the CMakeCache file.
|
||||||
|
# For build in directory: /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
# It was generated by CMake: /usr/bin/cmake
|
||||||
|
# You can edit this file to change values found and used by cmake.
|
||||||
|
# If you do not want to change any of the values, simply exit the editor.
|
||||||
|
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||||
|
# The syntax for the file is as follows:
|
||||||
|
# KEY:TYPE=VALUE
|
||||||
|
# KEY is the name of a variable in the cache.
|
||||||
|
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||||
|
# VALUE is the current value for the KEY.
|
||||||
|
|
||||||
|
########################
|
||||||
|
# EXTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
BUILD_EXAMPLES:BOOL=OFF
|
||||||
|
|
||||||
|
BUILD_GAMES:BOOL=OFF
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_AR:FILEPATH=/usr/bin/ar
|
||||||
|
|
||||||
|
//Choose the type of build, options are: None Debug Release RelWithDebInfo
|
||||||
|
// MinSizeRel ...
|
||||||
|
CMAKE_BUILD_TYPE:STRING=Debug
|
||||||
|
|
||||||
|
//Enable/Disable color output during build.
|
||||||
|
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
|
//C compiler
|
||||||
|
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
||||||
|
|
||||||
|
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar
|
||||||
|
|
||||||
|
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib
|
||||||
|
|
||||||
|
//Flags used by the C compiler during all build types.
|
||||||
|
CMAKE_C_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the C compiler during DEBUG builds.
|
||||||
|
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||||
|
|
||||||
|
//Flags used by the C compiler during MINSIZEREL builds.
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the C compiler during RELEASE builds.
|
||||||
|
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
|
||||||
|
|
||||||
|
//Flags used by the linker during all build types.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during DEBUG builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during MINSIZEREL builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during RELEASE builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Enable/Disable output of compile commands during generation.
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
||||||
|
|
||||||
|
//Value Computed by CMake.
|
||||||
|
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles/pkgRedirects
|
||||||
|
|
||||||
|
//Install path prefix, prepended onto install directories.
|
||||||
|
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// all build types.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// DEBUG builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// MINSIZEREL builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELEASE builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELWITHDEBINFO builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_NM:FILEPATH=/usr/bin/nm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_NAME:STATIC=clay_examples_textui_sidebar_scrolling_container
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_READELF:FILEPATH=/usr/bin/readelf
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during all build types.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//If set, runtime paths are not added when installing shared libraries,
|
||||||
|
// but are added when building.
|
||||||
|
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||||
|
|
||||||
|
//If set, runtime paths are not added when using shared libraries.
|
||||||
|
CMAKE_SKIP_RPATH:BOOL=NO
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during all build types.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND
|
||||||
|
|
||||||
|
//If this value is on, makefiles will be generated without the
|
||||||
|
// .SILENT directive, and all commands will be echoed to the console
|
||||||
|
// during the make. This is useful for debugging only. With Visual
|
||||||
|
// Studio IDE projects all commands are done without /nologo.
|
||||||
|
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||||
|
|
||||||
|
//Directory under which to collect all populated content
|
||||||
|
FETCHCONTENT_BASE_DIR:PATH=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps
|
||||||
|
|
||||||
|
//Disables all attempts to download or update content and assumes
|
||||||
|
// source dirs already exist
|
||||||
|
FETCHCONTENT_FULLY_DISCONNECTED:BOOL=OFF
|
||||||
|
|
||||||
|
//Enables QUIET option for all content population
|
||||||
|
FETCHCONTENT_QUIET:BOOL=ON
|
||||||
|
|
||||||
|
//When not empty, overrides where to find pre-populated content
|
||||||
|
// for raylib
|
||||||
|
FETCHCONTENT_SOURCE_DIR_RAYLIB:PATH=
|
||||||
|
|
||||||
|
//Enables UPDATE_DISCONNECTED behavior for all content population
|
||||||
|
FETCHCONTENT_UPDATES_DISCONNECTED:BOOL=OFF
|
||||||
|
|
||||||
|
//Enables UPDATE_DISCONNECTED behavior just for population of raylib
|
||||||
|
FETCHCONTENT_UPDATES_DISCONNECTED_RAYLIB:BOOL=OFF
|
||||||
|
|
||||||
|
//Git command line client
|
||||||
|
GIT_EXECUTABLE:FILEPATH=/usr/bin/git
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container_BINARY_DIR:STATIC=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container_IS_TOP_LEVEL:STATIC=ON
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container_SOURCE_DIR:STATIC=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clay_examples_textui_sidebar_scrolling_container_BINARY_DIR:STATIC=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clay_examples_textui_sidebar_scrolling_container_IS_TOP_LEVEL:STATIC=ON
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clay_examples_textui_sidebar_scrolling_container_SOURCE_DIR:STATIC=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# INTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||||
|
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_AR
|
||||||
|
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||||
|
//This is the directory where this CMakeCache.txt was created
|
||||||
|
CMAKE_CACHEFILE_DIR:INTERNAL=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
//Major version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||||
|
//Minor version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MINOR_VERSION:INTERNAL=30
|
||||||
|
//Patch version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=5
|
||||||
|
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||||
|
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake executable.
|
||||||
|
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||||
|
//Path to cpack program executable.
|
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||||
|
//Path to ctest program executable.
|
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||||
|
//ADVANCED property for variable: CMAKE_C_COMPILER
|
||||||
|
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
||||||
|
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
||||||
|
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS
|
||||||
|
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
||||||
|
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
||||||
|
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_DLLTOOL
|
||||||
|
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
||||||
|
//Path to cache edit program executable.
|
||||||
|
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
|
||||||
|
//Executable file format
|
||||||
|
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||||
|
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
||||||
|
//Name of external makefile project generator.
|
||||||
|
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||||
|
//Name of generator.
|
||||||
|
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||||
|
//Generator instance identifier.
|
||||||
|
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||||
|
//Name of generator platform.
|
||||||
|
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||||
|
//Name of generator toolset.
|
||||||
|
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||||
|
//Source directory with the top level CMakeLists.txt file for this
|
||||||
|
// project
|
||||||
|
CMAKE_HOME_DIRECTORY:INTERNAL=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
//Install .so files without execute permission.
|
||||||
|
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
|
||||||
|
//ADVANCED property for variable: CMAKE_LINKER
|
||||||
|
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
||||||
|
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_NM
|
||||||
|
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||||
|
//number of local generators
|
||||||
|
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||||
|
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||||
|
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||||
|
//Platform information initialized
|
||||||
|
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_RANLIB
|
||||||
|
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_READELF
|
||||||
|
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake installation.
|
||||||
|
CMAKE_ROOT:INTERNAL=/usr/share/cmake
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||||
|
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||||
|
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STRIP
|
||||||
|
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_TAPI
|
||||||
|
CMAKE_TAPI-ADVANCED:INTERNAL=1
|
||||||
|
//uname command
|
||||||
|
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
||||||
|
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||||
|
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: GIT_EXECUTABLE
|
||||||
|
GIT_EXECUTABLE-ADVANCED:INTERNAL=1
|
||||||
|
//linker supports push/pop state
|
||||||
|
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
|
||||||
|
|
@ -0,0 +1,81 @@
|
|||||||
|
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
||||||
|
set(CMAKE_C_COMPILER_ARG1 "")
|
||||||
|
set(CMAKE_C_COMPILER_ID "GNU")
|
||||||
|
set(CMAKE_C_COMPILER_VERSION "14.2.1")
|
||||||
|
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||||
|
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||||
|
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17")
|
||||||
|
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||||
|
set(CMAKE_C_STANDARD_LATEST "23")
|
||||||
|
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23")
|
||||||
|
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
||||||
|
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
||||||
|
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
||||||
|
set(CMAKE_C17_COMPILE_FEATURES "c_std_17")
|
||||||
|
set(CMAKE_C23_COMPILE_FEATURES "c_std_23")
|
||||||
|
|
||||||
|
set(CMAKE_C_PLATFORM_ID "Linux")
|
||||||
|
set(CMAKE_C_SIMULATE_ID "")
|
||||||
|
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
|
||||||
|
set(CMAKE_C_SIMULATE_VERSION "")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_AR "/usr/bin/ar")
|
||||||
|
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar")
|
||||||
|
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib")
|
||||||
|
set(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
set(CMAKE_LINKER_LINK "")
|
||||||
|
set(CMAKE_LINKER_LLD "")
|
||||||
|
set(CMAKE_C_COMPILER_LINKER "/usr/bin/ld")
|
||||||
|
set(CMAKE_C_COMPILER_LINKER_ID "GNU")
|
||||||
|
set(CMAKE_C_COMPILER_LINKER_VERSION 2.43.1)
|
||||||
|
set(CMAKE_C_COMPILER_LINKER_FRONTEND_VARIANT GNU)
|
||||||
|
set(CMAKE_MT "")
|
||||||
|
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
|
||||||
|
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||||
|
set(CMAKE_C_COMPILER_LOADED 1)
|
||||||
|
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||||
|
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||||
|
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||||
|
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||||
|
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED FALSE)
|
||||||
|
|
||||||
|
# Save compiler ABI information.
|
||||||
|
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||||
|
set(CMAKE_C_COMPILER_ABI "ELF")
|
||||||
|
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
|
||||||
|
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
||||||
|
|
||||||
|
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||||
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_C_COMPILER_ABI)
|
||||||
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||||
|
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||||
|
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||||
|
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-redhat-linux/14/include;/usr/local/include;/usr/include")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-redhat-linux/14;/usr/lib64;/lib64;/usr/lib")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
Binary file not shown.
@ -0,0 +1,15 @@
|
|||||||
|
set(CMAKE_HOST_SYSTEM "Linux-6.12.4-200.fc41.x86_64")
|
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "6.12.4-200.fc41.x86_64")
|
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM "Linux-6.12.4-200.fc41.x86_64")
|
||||||
|
set(CMAKE_SYSTEM_NAME "Linux")
|
||||||
|
set(CMAKE_SYSTEM_VERSION "6.12.4-200.fc41.x86_64")
|
||||||
|
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_LOADED 1)
|
@ -0,0 +1,904 @@
|
|||||||
|
#ifdef __cplusplus
|
||||||
|
# error "A C++ compiler has been selected for C."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__18CXX)
|
||||||
|
# define ID_VOID_MAIN
|
||||||
|
#endif
|
||||||
|
#if defined(__CLASSIC_C__)
|
||||||
|
/* cv-qualifiers did not exist in K&R C */
|
||||||
|
# define const
|
||||||
|
# define volatile
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__has_include)
|
||||||
|
/* If the compiler does not have __has_include, pretend the answer is
|
||||||
|
always no. */
|
||||||
|
# define __has_include(x) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# endif
|
||||||
|
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||||
|
except that a few beta releases use the old format with V=2021. */
|
||||||
|
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_UPDATE)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
/* The third version component from --version is an update index,
|
||||||
|
but no macro is provided for it. */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(0)
|
||||||
|
# endif
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||||
|
# define COMPILER_ID "IntelLLVM"
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
#endif
|
||||||
|
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||||
|
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||||
|
* VVVV is no smaller than the current year when a version is released.
|
||||||
|
*/
|
||||||
|
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||||
|
#else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
#elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__PATHCC__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||||
|
# if defined(__PATHCC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||||
|
# define COMPILER_ID "Embarcadero"
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define COMPILER_ID "Borland"
|
||||||
|
/* __BORLANDC__ = 0xVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define COMPILER_ID "OpenWatcom"
|
||||||
|
/* __WATCOMC__ = VVRP + 1100 */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__SUNPRO_C)
|
||||||
|
# define COMPILER_ID "SunPro"
|
||||||
|
# if __SUNPRO_C >= 0x5100
|
||||||
|
/* __SUNPRO_C = 0xVRRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# else
|
||||||
|
/* __SUNPRO_CC = 0xVRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__HP_cc)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
/* __HP_cc = VVRRPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||||
|
|
||||||
|
#elif defined(__DECC)
|
||||||
|
# define COMPILER_ID "Compaq"
|
||||||
|
/* __DECC_VER = VVRRTPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__open_xl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "IBMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ibmxl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "XLClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__NVCOMPILER)
|
||||||
|
# define COMPILER_ID "NVHPC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||||
|
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PGI)
|
||||||
|
# define COMPILER_ID "PGI"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||||
|
# if defined(__PGIC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__cray__)
|
||||||
|
# define COMPILER_ID "CrayClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI"
|
||||||
|
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||||
|
|
||||||
|
#elif defined(__CLANG_FUJITSU)
|
||||||
|
# define COMPILER_ID "FujitsuClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__FUJITSU)
|
||||||
|
# define COMPILER_ID "Fujitsu"
|
||||||
|
# if defined(__FCC_version__)
|
||||||
|
# define COMPILER_VERSION __FCC_version__
|
||||||
|
# elif defined(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# endif
|
||||||
|
# if defined(__fcc_version)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||||
|
# elif defined(__FCC_VERSION)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# define COMPILER_ID "GHS"
|
||||||
|
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||||
|
# ifdef __GHS_VERSION_NUMBER
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
# define COMPILER_ID "Tasking"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
||||||
|
|
||||||
|
#elif defined(__ORANGEC__)
|
||||||
|
# define COMPILER_ID "OrangeC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
|
||||||
|
|
||||||
|
#elif defined(__TINYC__)
|
||||||
|
# define COMPILER_ID "TinyCC"
|
||||||
|
|
||||||
|
#elif defined(__BCC__)
|
||||||
|
# define COMPILER_ID "Bruce"
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||||
|
# define COMPILER_ID "ARMCC"
|
||||||
|
#if __ARMCC_VERSION >= 1000000
|
||||||
|
/* __ARMCC_VERSION = VRRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#else
|
||||||
|
/* __ARMCC_VERSION = VRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||||
|
# define COMPILER_ID "AppleClang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "ARMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ti__)
|
||||||
|
# define COMPILER_ID "TIClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ti_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ti_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
||||||
|
# define COMPILER_ID "LCC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
||||||
|
# if defined(__LCC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define COMPILER_ID "MSVC"
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# if defined(_MSC_FULL_VER)
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||||
|
# else
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_BUILD)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_ADI_COMPILER)
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
#if defined(__VERSIONNUM__)
|
||||||
|
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# define COMPILER_ID "IAR"
|
||||||
|
# if defined(__VER__) && defined(__ICCARM__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||||
|
# define COMPILER_ID "SDCC"
|
||||||
|
# if defined(__SDCC_VERSION_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||||
|
# else
|
||||||
|
/* SDCC = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
/* These compilers are either not known or too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__hpux) || defined(__hpua)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
|
||||||
|
#else /* unknown compiler */
|
||||||
|
# define COMPILER_ID ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __QNXNTO__
|
||||||
|
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define STRINGIFY_HELPER(X) #X
|
||||||
|
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||||
|
|
||||||
|
/* Identify known platforms by name. */
|
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
#elif defined(__MSYS__)
|
||||||
|
# define PLATFORM_ID "MSYS"
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define PLATFORM_ID "Cygwin"
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define PLATFORM_ID "MinGW"
|
||||||
|
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define PLATFORM_ID "Darwin"
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||||
|
# define PLATFORM_ID "Windows"
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||||
|
# define PLATFORM_ID "FreeBSD"
|
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||||
|
# define PLATFORM_ID "NetBSD"
|
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||||
|
# define PLATFORM_ID "OpenBSD"
|
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun)
|
||||||
|
# define PLATFORM_ID "SunOS"
|
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||||
|
# define PLATFORM_ID "AIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU__)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||||
|
# define PLATFORM_ID "BeOS"
|
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||||
|
# define PLATFORM_ID "QNX"
|
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||||
|
# define PLATFORM_ID "Tru64"
|
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__)
|
||||||
|
# define PLATFORM_ID "RISCos"
|
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||||
|
# define PLATFORM_ID "SINIX"
|
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__)
|
||||||
|
# define PLATFORM_ID "UNIX_SV"
|
||||||
|
|
||||||
|
#elif defined(__bsdos__)
|
||||||
|
# define PLATFORM_ID "BSDOS"
|
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS)
|
||||||
|
# define PLATFORM_ID "MP-RAS"
|
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__)
|
||||||
|
# define PLATFORM_ID "OSF1"
|
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||||
|
# define PLATFORM_ID "SCO_SV"
|
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||||
|
# define PLATFORM_ID "ULTRIX"
|
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||||
|
# define PLATFORM_ID "Xenix"
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(__LINUX__)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
# elif defined(__DOS__)
|
||||||
|
# define PLATFORM_ID "DOS"
|
||||||
|
|
||||||
|
# elif defined(__OS2__)
|
||||||
|
# define PLATFORM_ID "OS2"
|
||||||
|
|
||||||
|
# elif defined(__WINDOWS__)
|
||||||
|
# define PLATFORM_ID "Windows3x"
|
||||||
|
|
||||||
|
# elif defined(__VXWORKS__)
|
||||||
|
# define PLATFORM_ID "VxWorks"
|
||||||
|
|
||||||
|
# else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__INTEGRITY)
|
||||||
|
# if defined(INT_178B)
|
||||||
|
# define PLATFORM_ID "Integrity178"
|
||||||
|
|
||||||
|
# else /* regular Integrity */
|
||||||
|
# define PLATFORM_ID "Integrity"
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_ADI_COMPILER)
|
||||||
|
# define PLATFORM_ID "ADSP"
|
||||||
|
|
||||||
|
#else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because
|
||||||
|
the compilers do not have flags that can change the architecture,
|
||||||
|
but rather depend on which compiler is being used
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# if defined(_M_IA64)
|
||||||
|
# define ARCHITECTURE_ID "IA64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64EC)
|
||||||
|
# define ARCHITECTURE_ID "ARM64EC"
|
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64)
|
||||||
|
# define ARCHITECTURE_ID "ARM64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM)
|
||||||
|
# if _M_ARM == 4
|
||||||
|
# define ARCHITECTURE_ID "ARMV4I"
|
||||||
|
# elif _M_ARM == 5
|
||||||
|
# define ARCHITECTURE_ID "ARMV5I"
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_M_MIPS)
|
||||||
|
# define ARCHITECTURE_ID "MIPS"
|
||||||
|
|
||||||
|
# elif defined(_M_SH)
|
||||||
|
# define ARCHITECTURE_ID "SHx"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(_M_I86)
|
||||||
|
# define ARCHITECTURE_ID "I86"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# if defined(__ICCARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__ICCRX__)
|
||||||
|
# define ARCHITECTURE_ID "RX"
|
||||||
|
|
||||||
|
# elif defined(__ICCRH850__)
|
||||||
|
# define ARCHITECTURE_ID "RH850"
|
||||||
|
|
||||||
|
# elif defined(__ICCRL78__)
|
||||||
|
# define ARCHITECTURE_ID "RL78"
|
||||||
|
|
||||||
|
# elif defined(__ICCRISCV__)
|
||||||
|
# define ARCHITECTURE_ID "RISCV"
|
||||||
|
|
||||||
|
# elif defined(__ICCAVR__)
|
||||||
|
# define ARCHITECTURE_ID "AVR"
|
||||||
|
|
||||||
|
# elif defined(__ICC430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__ICCV850__)
|
||||||
|
# define ARCHITECTURE_ID "V850"
|
||||||
|
|
||||||
|
# elif defined(__ICC8051__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__ICCSTM8__)
|
||||||
|
# define ARCHITECTURE_ID "STM8"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# if defined(__PPC64__)
|
||||||
|
# define ARCHITECTURE_ID "PPC64"
|
||||||
|
|
||||||
|
# elif defined(__ppc__)
|
||||||
|
# define ARCHITECTURE_ID "PPC"
|
||||||
|
|
||||||
|
# elif defined(__ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__x86_64__)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(__i386__)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ti__)
|
||||||
|
# if defined(__ARM_ARCH)
|
||||||
|
# define ARCHITECTURE_ID "Arm"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# if defined(__TI_ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__MSP430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C28XX__)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C28x"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C6x"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(__ADSPSHARC__)
|
||||||
|
# define ARCHITECTURE_ID "SHARC"
|
||||||
|
|
||||||
|
# elif defined(__ADSPBLACKFIN__)
|
||||||
|
# define ARCHITECTURE_ID "Blackfin"
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
|
||||||
|
# if defined(__CTC__) || defined(__CPTC__)
|
||||||
|
# define ARCHITECTURE_ID "TriCore"
|
||||||
|
|
||||||
|
# elif defined(__CMCS__)
|
||||||
|
# define ARCHITECTURE_ID "MCS"
|
||||||
|
|
||||||
|
# elif defined(__CARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__CARC__)
|
||||||
|
# define ARCHITECTURE_ID "ARC"
|
||||||
|
|
||||||
|
# elif defined(__C51__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__CPCP__)
|
||||||
|
# define ARCHITECTURE_ID "PCP"
|
||||||
|
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
# define ARCHITECTURE_ID
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */
|
||||||
|
#define DEC(n) \
|
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10))
|
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */
|
||||||
|
#define HEX(n) \
|
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF))
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number. */
|
||||||
|
#ifdef COMPILER_VERSION
|
||||||
|
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#elif defined(COMPILER_VERSION_MAJOR)
|
||||||
|
char const info_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||||
|
COMPILER_VERSION_MAJOR,
|
||||||
|
# ifdef COMPILER_VERSION_MINOR
|
||||||
|
'.', COMPILER_VERSION_MINOR,
|
||||||
|
# ifdef COMPILER_VERSION_PATCH
|
||||||
|
'.', COMPILER_VERSION_PATCH,
|
||||||
|
# ifdef COMPILER_VERSION_TWEAK
|
||||||
|
'.', COMPILER_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the internal version number. */
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
char const info_version_internal[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||||
|
'i','n','t','e','r','n','a','l','[',
|
||||||
|
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||||
|
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||||
|
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
char const info_simulate_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||||
|
SIMULATE_VERSION_MAJOR,
|
||||||
|
# ifdef SIMULATE_VERSION_MINOR
|
||||||
|
'.', SIMULATE_VERSION_MINOR,
|
||||||
|
# ifdef SIMULATE_VERSION_PATCH
|
||||||
|
'.', SIMULATE_VERSION_PATCH,
|
||||||
|
# ifdef SIMULATE_VERSION_TWEAK
|
||||||
|
'.', SIMULATE_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define C_STD_99 199901L
|
||||||
|
#define C_STD_11 201112L
|
||||||
|
#define C_STD_17 201710L
|
||||||
|
#define C_STD_23 202311L
|
||||||
|
|
||||||
|
#ifdef __STDC_VERSION__
|
||||||
|
# define C_STD __STDC_VERSION__
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__STDC__) && !defined(__clang__)
|
||||||
|
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
|
||||||
|
# define C_VERSION "90"
|
||||||
|
# else
|
||||||
|
# define C_VERSION
|
||||||
|
# endif
|
||||||
|
#elif C_STD > C_STD_17
|
||||||
|
# define C_VERSION "23"
|
||||||
|
#elif C_STD > C_STD_11
|
||||||
|
# define C_VERSION "17"
|
||||||
|
#elif C_STD > C_STD_99
|
||||||
|
# define C_VERSION "11"
|
||||||
|
#elif C_STD >= C_STD_99
|
||||||
|
# define C_VERSION "99"
|
||||||
|
#else
|
||||||
|
# define C_VERSION "90"
|
||||||
|
#endif
|
||||||
|
const char* info_language_standard_default =
|
||||||
|
"INFO" ":" "standard_default[" C_VERSION "]";
|
||||||
|
|
||||||
|
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||||
|
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
||||||
|
defined(__TI_COMPILER_VERSION__)) && \
|
||||||
|
!defined(__STRICT_ANSI__)
|
||||||
|
"ON"
|
||||||
|
#else
|
||||||
|
"OFF"
|
||||||
|
#endif
|
||||||
|
"]";
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifdef ID_VOID_MAIN
|
||||||
|
void main() {}
|
||||||
|
#else
|
||||||
|
# if defined(__CLASSIC_C__)
|
||||||
|
int main(argc, argv) int argc; char *argv[];
|
||||||
|
# else
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
# endif
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
require += info_arch[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
require += info_version_internal[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
require += info_simulate[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
require += info_simulate_version[argc];
|
||||||
|
#endif
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
require += info_cray[argc];
|
||||||
|
#endif
|
||||||
|
require += info_language_standard_default[argc];
|
||||||
|
require += info_language_extensions_default[argc];
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
|
#endif
|
BIN
examples/textui-sidebar-scrolling-container/CMakeFiles/3.30.5/CompilerIdC/a.out
Executable file
BIN
examples/textui-sidebar-scrolling-container/CMakeFiles/3.30.5/CompilerIdC/a.out
Executable file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,16 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# Relative path conversion top directories.
|
||||||
|
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container")
|
||||||
|
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container")
|
||||||
|
|
||||||
|
# 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,44 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# The generator used is:
|
||||||
|
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||||
|
|
||||||
|
# The top level Makefile was generated from the following files:
|
||||||
|
set(CMAKE_MAKEFILE_DEPENDS
|
||||||
|
"CMakeCache.txt"
|
||||||
|
"CMakeFiles/3.30.5/CMakeCCompiler.cmake"
|
||||||
|
"CMakeFiles/3.30.5/CMakeSystem.cmake"
|
||||||
|
"CMakeLists.txt"
|
||||||
|
"/usr/share/cmake/Modules/CMakeCInformation.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeCommonLanguageInclude.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeGenericSystem.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeInitializeConfigs.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeLanguageInformation.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeSystemSpecificInformation.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Compiler/GNU-C.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Compiler/GNU.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Platform/Linux-GNU-C.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Platform/Linux-GNU.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Platform/Linux-Initialize.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Platform/Linux.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Platform/UnixPaths.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# The corresponding makefile is:
|
||||||
|
set(CMAKE_MAKEFILE_OUTPUTS
|
||||||
|
"Makefile"
|
||||||
|
"CMakeFiles/cmake.check_cache"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Byproducts of CMake generate step:
|
||||||
|
set(CMAKE_MAKEFILE_PRODUCTS
|
||||||
|
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Dependency information for all targets:
|
||||||
|
set(CMAKE_DEPEND_INFO_FILES
|
||||||
|
"CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/DependInfo.cmake"
|
||||||
|
)
|
112
examples/textui-sidebar-scrolling-container/CMakeFiles/Makefile2
Normal file
112
examples/textui-sidebar-scrolling-container/CMakeFiles/Makefile2
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : %,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : SCCS/s.%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : s.%
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Command-line flag to silence nested $(MAKE).
|
||||||
|
$(VERBOSE)MAKESILENT = -s
|
||||||
|
|
||||||
|
#Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E rm -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Directory level rules for the build root directory
|
||||||
|
|
||||||
|
# The main recursive "all" target.
|
||||||
|
all: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/all
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main recursive "preinstall" target.
|
||||||
|
preinstall:
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
# The main recursive "clean" target.
|
||||||
|
clean: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/all:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/depend
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles --progress-num=1,2,3 "Built target clay_examples_textui_sidebar_scrolling_container"
|
||||||
|
.PHONY : CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles 3
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles 0
|
||||||
|
.PHONY : CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
clay_examples_textui_sidebar_scrolling_container: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/rule
|
||||||
|
.PHONY : clay_examples_textui_sidebar_scrolling_container
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/clean:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/clean
|
||||||
|
.PHONY : CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets to cleanup operation of make.
|
||||||
|
|
||||||
|
# Special rule to run CMake to check the build system integrity.
|
||||||
|
# No rule that depends on this can have commands that come from listfiles
|
||||||
|
# because they might be regenerated.
|
||||||
|
cmake_check_build_system:
|
||||||
|
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles/package.dir
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles/package_source.dir
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles/edit_cache.dir
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles/rebuild_cache.dir
|
@ -0,0 +1,24 @@
|
|||||||
|
|
||||||
|
# Consider dependencies only in project.
|
||||||
|
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||||
|
|
||||||
|
# The set of languages for which implicit dependencies are needed:
|
||||||
|
set(CMAKE_DEPENDS_LANGUAGES
|
||||||
|
)
|
||||||
|
|
||||||
|
# The set of dependency files which are needed:
|
||||||
|
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||||
|
"/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/main.c" "CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o" "gcc" "CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o.d"
|
||||||
|
"/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/multi-compilation-unit.c" "CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o" "gcc" "CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o.d"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Targets to which this target links which contain Fortran sources.
|
||||||
|
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# Targets to which this target links which contain Fortran sources.
|
||||||
|
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# Fortran module output directory.
|
||||||
|
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -0,0 +1,133 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# Delete rule output on recipe failure.
|
||||||
|
.DELETE_ON_ERROR:
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : %,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : SCCS/s.%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : s.%
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Command-line flag to silence nested $(MAKE).
|
||||||
|
$(VERBOSE)MAKESILENT = -s
|
||||||
|
|
||||||
|
#Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E rm -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container
|
||||||
|
|
||||||
|
# Include any dependencies generated for this target.
|
||||||
|
include CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/depend.make
|
||||||
|
# Include any dependencies generated by the compiler for this target.
|
||||||
|
include CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/compiler_depend.make
|
||||||
|
|
||||||
|
# Include the progress variables for this target.
|
||||||
|
include CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/progress.make
|
||||||
|
|
||||||
|
# Include the compile flags for this target's objects.
|
||||||
|
include CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/flags.make
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o: CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/flags.make
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o: main.c
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o: CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/compiler_depend.ts
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o -MF CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o.d -o CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o -c /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/main.c
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.i"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/main.c > CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.i
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.s"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/main.c -o CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.s
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o: CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/flags.make
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o: multi-compilation-unit.c
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o: CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/compiler_depend.ts
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o -MF CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o.d -o CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o -c /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/multi-compilation-unit.c
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.i"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/multi-compilation-unit.c > CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.i
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.s"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/multi-compilation-unit.c -o CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.s
|
||||||
|
|
||||||
|
# Object files for target clay_examples_raylib_sidebar_scrolling_container
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container_OBJECTS = \
|
||||||
|
"CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o" \
|
||||||
|
"CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o"
|
||||||
|
|
||||||
|
# External object files for target clay_examples_raylib_sidebar_scrolling_container
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container_EXTERNAL_OBJECTS =
|
||||||
|
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/build.make
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: _deps/raylib-build/raylib/libraylib.a
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: /usr/lib64/libOpenGL.so
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: /usr/lib64/libGLX.so
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: /usr/lib64/libGLU.so
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: /usr/lib64/librt.a
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: /usr/lib64/libm.so
|
||||||
|
clay_examples_raylib_sidebar_scrolling_container: CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/link.txt
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable clay_examples_raylib_sidebar_scrolling_container"
|
||||||
|
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/link.txt --verbose=$(VERBOSE)
|
||||||
|
/usr/bin/cmake -E copy_directory /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/resources /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/resources
|
||||||
|
|
||||||
|
# Rule to build all files generated by this target.
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/build: clay_examples_raylib_sidebar_scrolling_container
|
||||||
|
.PHONY : CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/build
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/clean:
|
||||||
|
$(CMAKE_COMMAND) -P CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/cmake_clean.cmake
|
||||||
|
.PHONY : CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/clean
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/depend:
|
||||||
|
cd /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container /home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/DependInfo.cmake "--color=$(COLOR)"
|
||||||
|
.PHONY : CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/depend
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
file(REMOVE_RECURSE
|
||||||
|
"CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o"
|
||||||
|
"CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o.d"
|
||||||
|
"CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o"
|
||||||
|
"CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o.d"
|
||||||
|
"clay_examples_raylib_sidebar_scrolling_container"
|
||||||
|
"clay_examples_raylib_sidebar_scrolling_container.pdb"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Per-language clean rules from dependency scanning.
|
||||||
|
foreach(lang C)
|
||||||
|
include(CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||||
|
endforeach()
|
@ -0,0 +1,2 @@
|
|||||||
|
# Empty compiler generated dependencies file for clay_examples_raylib_sidebar_scrolling_container.
|
||||||
|
# This may be replaced when dependencies are built.
|
@ -0,0 +1,2 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Timestamp file for compiler generated dependencies management for clay_examples_raylib_sidebar_scrolling_container.
|
@ -0,0 +1,2 @@
|
|||||||
|
# Empty dependencies file for clay_examples_raylib_sidebar_scrolling_container.
|
||||||
|
# This may be replaced when dependencies are built.
|
@ -0,0 +1,10 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# compile C with /usr/bin/cc
|
||||||
|
C_DEFINES = -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP
|
||||||
|
|
||||||
|
C_INCLUDES = -I/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/. -I/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/src -I/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/src/external/glfw/include
|
||||||
|
|
||||||
|
C_FLAGS = -std=gnu99
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
/usr/bin/cc CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/main.c.o "CMakeFiles/clay_examples_raylib_sidebar_scrolling_container.dir/multi-compilation-unit.c.o" -o clay_examples_raylib_sidebar_scrolling_container _deps/raylib-build/raylib/libraylib.a -lm -lpthread /usr/lib64/libOpenGL.so /usr/lib64/libGLX.so /usr/lib64/libGLU.so /usr/lib64/librt.a -lm -ldl
|
@ -0,0 +1,4 @@
|
|||||||
|
CMAKE_PROGRESS_1 = 1
|
||||||
|
CMAKE_PROGRESS_2 = 2
|
||||||
|
CMAKE_PROGRESS_3 = 3
|
||||||
|
|
@ -0,0 +1,24 @@
|
|||||||
|
|
||||||
|
# Consider dependencies only in project.
|
||||||
|
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||||
|
|
||||||
|
# The set of languages for which implicit dependencies are needed:
|
||||||
|
set(CMAKE_DEPENDS_LANGUAGES
|
||||||
|
)
|
||||||
|
|
||||||
|
# The set of dependency files which are needed:
|
||||||
|
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||||
|
"/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/main.c" "CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o" "gcc" "CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o.d"
|
||||||
|
"/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/multi-compilation-unit.c" "CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o" "gcc" "CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o.d"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Targets to which this target links which contain Fortran sources.
|
||||||
|
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# Targets to which this target links which contain Fortran sources.
|
||||||
|
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# Fortran module output directory.
|
||||||
|
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -0,0 +1,127 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# Delete rule output on recipe failure.
|
||||||
|
.DELETE_ON_ERROR:
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : %,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : SCCS/s.%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : s.%
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Command-line flag to silence nested $(MAKE).
|
||||||
|
$(VERBOSE)MAKESILENT = -s
|
||||||
|
|
||||||
|
#Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E rm -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
# Include any dependencies generated for this target.
|
||||||
|
include CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/depend.make
|
||||||
|
# Include any dependencies generated by the compiler for this target.
|
||||||
|
include CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/compiler_depend.make
|
||||||
|
|
||||||
|
# Include the progress variables for this target.
|
||||||
|
include CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/progress.make
|
||||||
|
|
||||||
|
# Include the compile flags for this target's objects.
|
||||||
|
include CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/flags.make
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/flags.make
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o: main.c
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/compiler_depend.ts
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o -MF CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o.d -o CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o -c /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/main.c
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.i"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/main.c > CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.i
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.s"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/main.c -o CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.s
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/flags.make
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o: multi-compilation-unit.c
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/compiler_depend.ts
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o -MF CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o.d -o CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o -c /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/multi-compilation-unit.c
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.i"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/multi-compilation-unit.c > CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.i
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.s"
|
||||||
|
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/multi-compilation-unit.c -o CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.s
|
||||||
|
|
||||||
|
# Object files for target clay_examples_textui_sidebar_scrolling_container
|
||||||
|
clay_examples_textui_sidebar_scrolling_container_OBJECTS = \
|
||||||
|
"CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o" \
|
||||||
|
"CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o"
|
||||||
|
|
||||||
|
# External object files for target clay_examples_textui_sidebar_scrolling_container
|
||||||
|
clay_examples_textui_sidebar_scrolling_container_EXTERNAL_OBJECTS =
|
||||||
|
|
||||||
|
clay_examples_textui_sidebar_scrolling_container: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o
|
||||||
|
clay_examples_textui_sidebar_scrolling_container: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o
|
||||||
|
clay_examples_textui_sidebar_scrolling_container: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make
|
||||||
|
clay_examples_textui_sidebar_scrolling_container: CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/link.txt
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable clay_examples_textui_sidebar_scrolling_container"
|
||||||
|
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/link.txt --verbose=$(VERBOSE)
|
||||||
|
/usr/bin/cmake -E copy_directory /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/resources /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/resources
|
||||||
|
|
||||||
|
# Rule to build all files generated by this target.
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build: clay_examples_textui_sidebar_scrolling_container
|
||||||
|
.PHONY : CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/clean:
|
||||||
|
$(CMAKE_COMMAND) -P CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/cmake_clean.cmake
|
||||||
|
.PHONY : CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/clean
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/depend:
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/DependInfo.cmake "--color=$(COLOR)"
|
||||||
|
.PHONY : CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/depend
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
file(REMOVE_RECURSE
|
||||||
|
"CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o"
|
||||||
|
"CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o.d"
|
||||||
|
"CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o"
|
||||||
|
"CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o.d"
|
||||||
|
"clay_examples_textui_sidebar_scrolling_container"
|
||||||
|
"clay_examples_textui_sidebar_scrolling_container.pdb"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Per-language clean rules from dependency scanning.
|
||||||
|
foreach(lang C)
|
||||||
|
include(CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||||
|
endforeach()
|
@ -0,0 +1,96 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/main.c
|
||||||
|
/home/phillip/Projects/clay/clay.h
|
||||||
|
/home/phillip/Projects/clay/renderers/textui/clay_renderer_textui.c
|
||||||
|
/usr/include/alloca.h
|
||||||
|
/usr/include/bits/atomic_wide_counter.h
|
||||||
|
/usr/include/bits/byteswap.h
|
||||||
|
/usr/include/bits/endian.h
|
||||||
|
/usr/include/bits/endianness.h
|
||||||
|
/usr/include/bits/floatn-common.h
|
||||||
|
/usr/include/bits/floatn.h
|
||||||
|
/usr/include/bits/libc-header-start.h
|
||||||
|
/usr/include/bits/long-double.h
|
||||||
|
/usr/include/bits/pthreadtypes-arch.h
|
||||||
|
/usr/include/bits/pthreadtypes.h
|
||||||
|
/usr/include/bits/select.h
|
||||||
|
/usr/include/bits/stdint-intn.h
|
||||||
|
/usr/include/bits/stdint-least.h
|
||||||
|
/usr/include/bits/stdint-uintn.h
|
||||||
|
/usr/include/bits/stdio_lim.h
|
||||||
|
/usr/include/bits/stdlib-float.h
|
||||||
|
/usr/include/bits/struct_mutex.h
|
||||||
|
/usr/include/bits/struct_rwlock.h
|
||||||
|
/usr/include/bits/thread-shared-types.h
|
||||||
|
/usr/include/bits/time64.h
|
||||||
|
/usr/include/bits/timesize.h
|
||||||
|
/usr/include/bits/types.h
|
||||||
|
/usr/include/bits/types/FILE.h
|
||||||
|
/usr/include/bits/types/__FILE.h
|
||||||
|
/usr/include/bits/types/__fpos64_t.h
|
||||||
|
/usr/include/bits/types/__fpos_t.h
|
||||||
|
/usr/include/bits/types/__mbstate_t.h
|
||||||
|
/usr/include/bits/types/__sigset_t.h
|
||||||
|
/usr/include/bits/types/clock_t.h
|
||||||
|
/usr/include/bits/types/clockid_t.h
|
||||||
|
/usr/include/bits/types/cookie_io_functions_t.h
|
||||||
|
/usr/include/bits/types/sigset_t.h
|
||||||
|
/usr/include/bits/types/struct_FILE.h
|
||||||
|
/usr/include/bits/types/struct_timespec.h
|
||||||
|
/usr/include/bits/types/struct_timeval.h
|
||||||
|
/usr/include/bits/types/time_t.h
|
||||||
|
/usr/include/bits/types/timer_t.h
|
||||||
|
/usr/include/bits/typesizes.h
|
||||||
|
/usr/include/bits/uintn-identity.h
|
||||||
|
/usr/include/bits/waitflags.h
|
||||||
|
/usr/include/bits/waitstatus.h
|
||||||
|
/usr/include/bits/wchar.h
|
||||||
|
/usr/include/bits/wordsize.h
|
||||||
|
/usr/include/curses.h
|
||||||
|
/usr/include/endian.h
|
||||||
|
/usr/include/features-time64.h
|
||||||
|
/usr/include/features.h
|
||||||
|
/usr/include/gnu/stubs-64.h
|
||||||
|
/usr/include/gnu/stubs.h
|
||||||
|
/usr/include/ncurses_dll.h
|
||||||
|
/usr/include/stdc-predef.h
|
||||||
|
/usr/include/stdint.h
|
||||||
|
/usr/include/stdio.h
|
||||||
|
/usr/include/stdlib.h
|
||||||
|
/usr/include/sys/cdefs.h
|
||||||
|
/usr/include/sys/select.h
|
||||||
|
/usr/include/sys/types.h
|
||||||
|
/usr/include/unctrl.h
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdarg.h
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdbool.h
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stddef.h
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/multi-compilation-unit.c
|
||||||
|
/home/phillip/Projects/clay/clay.h
|
||||||
|
/usr/include/bits/libc-header-start.h
|
||||||
|
/usr/include/bits/long-double.h
|
||||||
|
/usr/include/bits/stdint-intn.h
|
||||||
|
/usr/include/bits/stdint-least.h
|
||||||
|
/usr/include/bits/stdint-uintn.h
|
||||||
|
/usr/include/bits/time64.h
|
||||||
|
/usr/include/bits/timesize.h
|
||||||
|
/usr/include/bits/types.h
|
||||||
|
/usr/include/bits/typesizes.h
|
||||||
|
/usr/include/bits/wchar.h
|
||||||
|
/usr/include/bits/wordsize.h
|
||||||
|
/usr/include/features-time64.h
|
||||||
|
/usr/include/features.h
|
||||||
|
/usr/include/gnu/stubs-64.h
|
||||||
|
/usr/include/gnu/stubs.h
|
||||||
|
/usr/include/stdc-predef.h
|
||||||
|
/usr/include/stdint.h
|
||||||
|
/usr/include/sys/cdefs.h
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdbool.h
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stddef.h
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h
|
||||||
|
|
@ -0,0 +1,228 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o: main.c \
|
||||||
|
/home/phillip/Projects/clay/clay.h \
|
||||||
|
/home/phillip/Projects/clay/renderers/textui/clay_renderer_textui.c \
|
||||||
|
/usr/include/alloca.h \
|
||||||
|
/usr/include/bits/atomic_wide_counter.h \
|
||||||
|
/usr/include/bits/byteswap.h \
|
||||||
|
/usr/include/bits/endian.h \
|
||||||
|
/usr/include/bits/endianness.h \
|
||||||
|
/usr/include/bits/floatn-common.h \
|
||||||
|
/usr/include/bits/floatn.h \
|
||||||
|
/usr/include/bits/libc-header-start.h \
|
||||||
|
/usr/include/bits/long-double.h \
|
||||||
|
/usr/include/bits/pthreadtypes-arch.h \
|
||||||
|
/usr/include/bits/pthreadtypes.h \
|
||||||
|
/usr/include/bits/select.h \
|
||||||
|
/usr/include/bits/stdint-intn.h \
|
||||||
|
/usr/include/bits/stdint-least.h \
|
||||||
|
/usr/include/bits/stdint-uintn.h \
|
||||||
|
/usr/include/bits/stdio_lim.h \
|
||||||
|
/usr/include/bits/stdlib-float.h \
|
||||||
|
/usr/include/bits/struct_mutex.h \
|
||||||
|
/usr/include/bits/struct_rwlock.h \
|
||||||
|
/usr/include/bits/thread-shared-types.h \
|
||||||
|
/usr/include/bits/time64.h \
|
||||||
|
/usr/include/bits/timesize.h \
|
||||||
|
/usr/include/bits/types.h \
|
||||||
|
/usr/include/bits/types/FILE.h \
|
||||||
|
/usr/include/bits/types/__FILE.h \
|
||||||
|
/usr/include/bits/types/__fpos64_t.h \
|
||||||
|
/usr/include/bits/types/__fpos_t.h \
|
||||||
|
/usr/include/bits/types/__mbstate_t.h \
|
||||||
|
/usr/include/bits/types/__sigset_t.h \
|
||||||
|
/usr/include/bits/types/clock_t.h \
|
||||||
|
/usr/include/bits/types/clockid_t.h \
|
||||||
|
/usr/include/bits/types/cookie_io_functions_t.h \
|
||||||
|
/usr/include/bits/types/sigset_t.h \
|
||||||
|
/usr/include/bits/types/struct_FILE.h \
|
||||||
|
/usr/include/bits/types/struct_timespec.h \
|
||||||
|
/usr/include/bits/types/struct_timeval.h \
|
||||||
|
/usr/include/bits/types/time_t.h \
|
||||||
|
/usr/include/bits/types/timer_t.h \
|
||||||
|
/usr/include/bits/typesizes.h \
|
||||||
|
/usr/include/bits/uintn-identity.h \
|
||||||
|
/usr/include/bits/waitflags.h \
|
||||||
|
/usr/include/bits/waitstatus.h \
|
||||||
|
/usr/include/bits/wchar.h \
|
||||||
|
/usr/include/bits/wordsize.h \
|
||||||
|
/usr/include/curses.h \
|
||||||
|
/usr/include/endian.h \
|
||||||
|
/usr/include/features-time64.h \
|
||||||
|
/usr/include/features.h \
|
||||||
|
/usr/include/gnu/stubs-64.h \
|
||||||
|
/usr/include/gnu/stubs.h \
|
||||||
|
/usr/include/ncurses_dll.h \
|
||||||
|
/usr/include/stdc-predef.h \
|
||||||
|
/usr/include/stdint.h \
|
||||||
|
/usr/include/stdio.h \
|
||||||
|
/usr/include/stdlib.h \
|
||||||
|
/usr/include/sys/cdefs.h \
|
||||||
|
/usr/include/sys/select.h \
|
||||||
|
/usr/include/sys/types.h \
|
||||||
|
/usr/include/unctrl.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdarg.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdbool.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stddef.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h
|
||||||
|
|
||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o: multi-compilation-unit.c \
|
||||||
|
/home/phillip/Projects/clay/clay.h \
|
||||||
|
/usr/include/bits/libc-header-start.h \
|
||||||
|
/usr/include/bits/long-double.h \
|
||||||
|
/usr/include/bits/stdint-intn.h \
|
||||||
|
/usr/include/bits/stdint-least.h \
|
||||||
|
/usr/include/bits/stdint-uintn.h \
|
||||||
|
/usr/include/bits/time64.h \
|
||||||
|
/usr/include/bits/timesize.h \
|
||||||
|
/usr/include/bits/types.h \
|
||||||
|
/usr/include/bits/typesizes.h \
|
||||||
|
/usr/include/bits/wchar.h \
|
||||||
|
/usr/include/bits/wordsize.h \
|
||||||
|
/usr/include/features-time64.h \
|
||||||
|
/usr/include/features.h \
|
||||||
|
/usr/include/gnu/stubs-64.h \
|
||||||
|
/usr/include/gnu/stubs.h \
|
||||||
|
/usr/include/stdc-predef.h \
|
||||||
|
/usr/include/stdint.h \
|
||||||
|
/usr/include/sys/cdefs.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdbool.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stddef.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h
|
||||||
|
|
||||||
|
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stddef.h:
|
||||||
|
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdarg.h:
|
||||||
|
|
||||||
|
/usr/include/sys/types.h:
|
||||||
|
|
||||||
|
/usr/include/sys/select.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/FILE.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types.h:
|
||||||
|
|
||||||
|
/usr/include/sys/cdefs.h:
|
||||||
|
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h:
|
||||||
|
|
||||||
|
/usr/include/bits/time64.h:
|
||||||
|
|
||||||
|
/usr/include/bits/byteswap.h:
|
||||||
|
|
||||||
|
/usr/include/bits/thread-shared-types.h:
|
||||||
|
|
||||||
|
/usr/include/bits/wchar.h:
|
||||||
|
|
||||||
|
/usr/include/bits/stdint-least.h:
|
||||||
|
|
||||||
|
/usr/include/alloca.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/__fpos64_t.h:
|
||||||
|
|
||||||
|
/usr/include/bits/select.h:
|
||||||
|
|
||||||
|
/usr/include/features-time64.h:
|
||||||
|
|
||||||
|
/usr/include/unctrl.h:
|
||||||
|
|
||||||
|
/usr/include/bits/stdint-intn.h:
|
||||||
|
|
||||||
|
/usr/include/bits/struct_mutex.h:
|
||||||
|
|
||||||
|
/usr/include/gnu/stubs-64.h:
|
||||||
|
|
||||||
|
/home/phillip/Projects/clay/clay.h:
|
||||||
|
|
||||||
|
/usr/include/bits/libc-header-start.h:
|
||||||
|
|
||||||
|
/usr/include/bits/endianness.h:
|
||||||
|
|
||||||
|
/usr/include/bits/timesize.h:
|
||||||
|
|
||||||
|
/usr/include/bits/endian.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/__sigset_t.h:
|
||||||
|
|
||||||
|
/usr/include/bits/waitflags.h:
|
||||||
|
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdbool.h:
|
||||||
|
|
||||||
|
/usr/include/stdc-predef.h:
|
||||||
|
|
||||||
|
main.c:
|
||||||
|
|
||||||
|
/usr/include/bits/pthreadtypes-arch.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/__FILE.h:
|
||||||
|
|
||||||
|
/usr/include/bits/stdlib-float.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/sigset_t.h:
|
||||||
|
|
||||||
|
/usr/include/bits/floatn-common.h:
|
||||||
|
|
||||||
|
/usr/include/bits/long-double.h:
|
||||||
|
|
||||||
|
/usr/include/bits/pthreadtypes.h:
|
||||||
|
|
||||||
|
/usr/include/bits/floatn.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/__fpos_t.h:
|
||||||
|
|
||||||
|
multi-compilation-unit.c:
|
||||||
|
|
||||||
|
/usr/include/bits/wordsize.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/__mbstate_t.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/clock_t.h:
|
||||||
|
|
||||||
|
/usr/include/bits/atomic_wide_counter.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/clockid_t.h:
|
||||||
|
|
||||||
|
/usr/include/bits/uintn-identity.h:
|
||||||
|
|
||||||
|
/usr/include/bits/typesizes.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/struct_FILE.h:
|
||||||
|
|
||||||
|
/usr/include/ncurses_dll.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/struct_timespec.h:
|
||||||
|
|
||||||
|
/usr/include/bits/stdio_lim.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/struct_timeval.h:
|
||||||
|
|
||||||
|
/usr/include/bits/struct_rwlock.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/time_t.h:
|
||||||
|
|
||||||
|
/home/phillip/Projects/clay/renderers/textui/clay_renderer_textui.c:
|
||||||
|
|
||||||
|
/usr/include/stdlib.h:
|
||||||
|
|
||||||
|
/usr/include/bits/stdint-uintn.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/cookie_io_functions_t.h:
|
||||||
|
|
||||||
|
/usr/include/endian.h:
|
||||||
|
|
||||||
|
/usr/include/bits/waitstatus.h:
|
||||||
|
|
||||||
|
/usr/include/curses.h:
|
||||||
|
|
||||||
|
/usr/include/features.h:
|
||||||
|
|
||||||
|
/usr/include/gnu/stubs.h:
|
||||||
|
|
||||||
|
/usr/include/stdint.h:
|
||||||
|
|
||||||
|
/usr/include/bits/types/timer_t.h:
|
||||||
|
|
||||||
|
/usr/include/stdio.h:
|
@ -0,0 +1,2 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Timestamp file for compiler generated dependencies management for clay_examples_textui_sidebar_scrolling_container.
|
@ -0,0 +1,2 @@
|
|||||||
|
# Empty dependencies file for clay_examples_textui_sidebar_scrolling_container.
|
||||||
|
# This may be replaced when dependencies are built.
|
@ -0,0 +1,10 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# compile C with /usr/bin/cc
|
||||||
|
C_DEFINES =
|
||||||
|
|
||||||
|
C_INCLUDES = -I/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/.
|
||||||
|
|
||||||
|
C_FLAGS = -g -std=gnu99
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
/usr/bin/cc -g CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o "CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o" -o clay_examples_textui_sidebar_scrolling_container -lncurses
|
Binary file not shown.
@ -0,0 +1,42 @@
|
|||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o: \
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/main.c \
|
||||||
|
/usr/include/stdc-predef.h /usr/include/curses.h \
|
||||||
|
/usr/include/ncurses_dll.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h \
|
||||||
|
/usr/include/stdint.h /usr/include/bits/libc-header-start.h \
|
||||||
|
/usr/include/features.h /usr/include/features-time64.h \
|
||||||
|
/usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
|
||||||
|
/usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
|
||||||
|
/usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
|
||||||
|
/usr/include/bits/types.h /usr/include/bits/typesizes.h \
|
||||||
|
/usr/include/bits/time64.h /usr/include/bits/wchar.h \
|
||||||
|
/usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
|
||||||
|
/usr/include/bits/stdint-least.h /usr/include/stdio.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stddef.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdarg.h \
|
||||||
|
/usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
|
||||||
|
/usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
|
||||||
|
/usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
|
||||||
|
/usr/include/bits/types/cookie_io_functions_t.h \
|
||||||
|
/usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
|
||||||
|
/usr/include/bits/floatn-common.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdbool.h \
|
||||||
|
/usr/include/unctrl.h \
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/../../clay.h \
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/../../renderers/textui/clay_renderer_textui.c \
|
||||||
|
/usr/include/stdlib.h /usr/include/bits/waitflags.h \
|
||||||
|
/usr/include/bits/waitstatus.h /usr/include/sys/types.h \
|
||||||
|
/usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
|
||||||
|
/usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
|
||||||
|
/usr/include/endian.h /usr/include/bits/endian.h \
|
||||||
|
/usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
|
||||||
|
/usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
|
||||||
|
/usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
|
||||||
|
/usr/include/bits/types/__sigset_t.h \
|
||||||
|
/usr/include/bits/types/struct_timeval.h \
|
||||||
|
/usr/include/bits/types/struct_timespec.h \
|
||||||
|
/usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
|
||||||
|
/usr/include/bits/pthreadtypes-arch.h \
|
||||||
|
/usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
|
||||||
|
/usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
|
||||||
|
/usr/include/bits/stdlib-float.h
|
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o: \
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/multi-compilation-unit.c \
|
||||||
|
/usr/include/stdc-predef.h \
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/../../clay.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h \
|
||||||
|
/usr/include/stdint.h /usr/include/bits/libc-header-start.h \
|
||||||
|
/usr/include/features.h /usr/include/features-time64.h \
|
||||||
|
/usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
|
||||||
|
/usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
|
||||||
|
/usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
|
||||||
|
/usr/include/bits/types.h /usr/include/bits/typesizes.h \
|
||||||
|
/usr/include/bits/time64.h /usr/include/bits/wchar.h \
|
||||||
|
/usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
|
||||||
|
/usr/include/bits/stdint-least.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdbool.h \
|
||||||
|
/usr/lib/gcc/x86_64-redhat-linux/14/include/stddef.h
|
@ -0,0 +1,4 @@
|
|||||||
|
CMAKE_PROGRESS_1 = 1
|
||||||
|
CMAKE_PROGRESS_2 = 2
|
||||||
|
CMAKE_PROGRESS_3 = 3
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
@ -0,0 +1 @@
|
|||||||
|
3
|
18
examples/textui-sidebar-scrolling-container/CMakeLists.txt
Normal file
18
examples/textui-sidebar-scrolling-container/CMakeLists.txt
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.27)
|
||||||
|
project(clay_examples_textui_sidebar_scrolling_container C)
|
||||||
|
set(CMAKE_C_STANDARD 99)
|
||||||
|
|
||||||
|
add_executable(clay_examples_textui_sidebar_scrolling_container main.c multi-compilation-unit.c)
|
||||||
|
|
||||||
|
target_compile_options(clay_examples_textui_sidebar_scrolling_container PUBLIC)
|
||||||
|
target_include_directories(clay_examples_textui_sidebar_scrolling_container PUBLIC .)
|
||||||
|
|
||||||
|
target_link_libraries(clay_examples_textui_sidebar_scrolling_container PUBLIC ncurses)
|
||||||
|
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG")
|
||||||
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||||
|
|
||||||
|
add_custom_command(
|
||||||
|
TARGET clay_examples_textui_sidebar_scrolling_container POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/resources
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/resources)
|
@ -0,0 +1,76 @@
|
|||||||
|
# This file will be configured to contain variables for CPack. These variables
|
||||||
|
# should be set in the CMake list file of the project before CPack module is
|
||||||
|
# included. The list of available CPACK_xxx variables and their associated
|
||||||
|
# documentation may be obtained using
|
||||||
|
# cpack --help-variable-list
|
||||||
|
#
|
||||||
|
# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME)
|
||||||
|
# and some are specific to a generator
|
||||||
|
# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables
|
||||||
|
# usually begin with CPACK_<GENNAME>_xxxx.
|
||||||
|
|
||||||
|
|
||||||
|
set(CPACK_BUILD_SOURCE_DIRS "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container;/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container")
|
||||||
|
set(CPACK_CMAKE_GENERATOR "Unix Makefiles")
|
||||||
|
set(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
|
||||||
|
set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libatomic1, libc6, libglfw3, libglu1-mesa | libglu1, libglx0, libopengl0")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_NAME "libraylib-dev")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS "OFF")
|
||||||
|
set(CPACK_DEFAULT_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake/Templates/CPack.GenericDescription.txt")
|
||||||
|
set(CPACK_DEFAULT_PACKAGE_DESCRIPTION_SUMMARY "clay_examples_raylib_sidebar_scrolling_container built using CMake")
|
||||||
|
set(CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE "ON")
|
||||||
|
set(CPACK_GENERATOR "ZIP;TGZ;DEB;RPM")
|
||||||
|
set(CPACK_INNOSETUP_ARCHITECTURE "x64")
|
||||||
|
set(CPACK_INSTALL_CMAKE_PROJECTS "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container;clay_examples_raylib_sidebar_scrolling_container;ALL;/")
|
||||||
|
set(CPACK_INSTALL_PREFIX "/usr/local")
|
||||||
|
set(CPACK_MODULE_PATH "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/cmake")
|
||||||
|
set(CPACK_NSIS_DISPLAY_NAME "raylib 5.5.0")
|
||||||
|
set(CPACK_NSIS_INSTALLER_ICON_CODE "")
|
||||||
|
set(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
|
||||||
|
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
|
||||||
|
set(CPACK_NSIS_PACKAGE_NAME "raylib 5.5.0")
|
||||||
|
set(CPACK_NSIS_UNINSTALL_NAME "Uninstall")
|
||||||
|
set(CPACK_OBJCOPY_EXECUTABLE "/usr/bin/objcopy")
|
||||||
|
set(CPACK_OBJDUMP_EXECUTABLE "/usr/bin/objdump")
|
||||||
|
set(CPACK_OUTPUT_CONFIG_FILE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CPackConfig.cmake")
|
||||||
|
set(CPACK_PACKAGE_CONTACT "raysan5")
|
||||||
|
set(CPACK_PACKAGE_DEFAULT_LOCATION "/")
|
||||||
|
set(CPACK_PACKAGE_DESCRIPTION_FILE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/src/../README.md")
|
||||||
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Simple and easy-to-use library to enjoy videogames programming")
|
||||||
|
set(CPACK_PACKAGE_FILE_NAME "raylib-5.5.0")
|
||||||
|
set(CPACK_PACKAGE_INSTALL_DIRECTORY "raylib 5.5.0")
|
||||||
|
set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "raylib 5.5.0")
|
||||||
|
set(CPACK_PACKAGE_NAME "raylib")
|
||||||
|
set(CPACK_PACKAGE_RELOCATABLE "true")
|
||||||
|
set(CPACK_PACKAGE_VENDOR "Humanity")
|
||||||
|
set(CPACK_PACKAGE_VERSION "5.5.0")
|
||||||
|
set(CPACK_PACKAGE_VERSION_MAJOR "")
|
||||||
|
set(CPACK_PACKAGE_VERSION_MINOR "")
|
||||||
|
set(CPACK_PACKAGE_VERSION_PATCH "")
|
||||||
|
set(CPACK_READELF_EXECUTABLE "/usr/bin/readelf")
|
||||||
|
set(CPACK_RESOURCE_FILE_LICENSE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/src/../LICENSE")
|
||||||
|
set(CPACK_RESOURCE_FILE_README "/usr/share/cmake/Templates/CPack.GenericDescription.txt")
|
||||||
|
set(CPACK_RESOURCE_FILE_WELCOME "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/src/../README.md")
|
||||||
|
set(CPACK_RPM_PACKAGE_NAME "libraylib-devel")
|
||||||
|
set(CPACK_SET_DESTDIR "OFF")
|
||||||
|
set(CPACK_SOURCE_GENERATOR "TBZ2;TGZ;TXZ;TZ")
|
||||||
|
set(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CPackSourceConfig.cmake")
|
||||||
|
set(CPACK_SOURCE_RPM "OFF")
|
||||||
|
set(CPACK_SOURCE_TBZ2 "ON")
|
||||||
|
set(CPACK_SOURCE_TGZ "ON")
|
||||||
|
set(CPACK_SOURCE_TXZ "ON")
|
||||||
|
set(CPACK_SOURCE_TZ "ON")
|
||||||
|
set(CPACK_SOURCE_ZIP "OFF")
|
||||||
|
set(CPACK_SYSTEM_NAME "Linux")
|
||||||
|
set(CPACK_THREADS "1")
|
||||||
|
set(CPACK_TOPLEVEL_TAG "Linux")
|
||||||
|
set(CPACK_WIX_SIZEOF_VOID_P "8")
|
||||||
|
|
||||||
|
if(NOT CPACK_PROPERTIES_FILE)
|
||||||
|
set(CPACK_PROPERTIES_FILE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CPackProperties.cmake")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(EXISTS ${CPACK_PROPERTIES_FILE})
|
||||||
|
include(${CPACK_PROPERTIES_FILE})
|
||||||
|
endif()
|
@ -0,0 +1,84 @@
|
|||||||
|
# This file will be configured to contain variables for CPack. These variables
|
||||||
|
# should be set in the CMake list file of the project before CPack module is
|
||||||
|
# included. The list of available CPACK_xxx variables and their associated
|
||||||
|
# documentation may be obtained using
|
||||||
|
# cpack --help-variable-list
|
||||||
|
#
|
||||||
|
# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME)
|
||||||
|
# and some are specific to a generator
|
||||||
|
# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables
|
||||||
|
# usually begin with CPACK_<GENNAME>_xxxx.
|
||||||
|
|
||||||
|
|
||||||
|
set(CPACK_BUILD_SOURCE_DIRS "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container;/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container")
|
||||||
|
set(CPACK_CMAKE_GENERATOR "Unix Makefiles")
|
||||||
|
set(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
|
||||||
|
set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libatomic1, libc6, libglfw3, libglu1-mesa | libglu1, libglx0, libopengl0")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_NAME "libraylib-dev")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS "OFF")
|
||||||
|
set(CPACK_DEFAULT_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake/Templates/CPack.GenericDescription.txt")
|
||||||
|
set(CPACK_DEFAULT_PACKAGE_DESCRIPTION_SUMMARY "clay_examples_raylib_sidebar_scrolling_container built using CMake")
|
||||||
|
set(CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE "ON")
|
||||||
|
set(CPACK_GENERATOR "TBZ2;TGZ;TXZ;TZ")
|
||||||
|
set(CPACK_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp\$;\\.#;/#")
|
||||||
|
set(CPACK_INNOSETUP_ARCHITECTURE "x64")
|
||||||
|
set(CPACK_INSTALLED_DIRECTORIES "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container;/")
|
||||||
|
set(CPACK_INSTALL_CMAKE_PROJECTS "")
|
||||||
|
set(CPACK_INSTALL_PREFIX "/usr/local")
|
||||||
|
set(CPACK_MODULE_PATH "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/cmake")
|
||||||
|
set(CPACK_NSIS_DISPLAY_NAME "raylib 5.5.0")
|
||||||
|
set(CPACK_NSIS_INSTALLER_ICON_CODE "")
|
||||||
|
set(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
|
||||||
|
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
|
||||||
|
set(CPACK_NSIS_PACKAGE_NAME "raylib 5.5.0")
|
||||||
|
set(CPACK_NSIS_UNINSTALL_NAME "Uninstall")
|
||||||
|
set(CPACK_OBJCOPY_EXECUTABLE "/usr/bin/objcopy")
|
||||||
|
set(CPACK_OBJDUMP_EXECUTABLE "/usr/bin/objdump")
|
||||||
|
set(CPACK_OUTPUT_CONFIG_FILE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CPackConfig.cmake")
|
||||||
|
set(CPACK_PACKAGE_CONTACT "raysan5")
|
||||||
|
set(CPACK_PACKAGE_DEFAULT_LOCATION "/")
|
||||||
|
set(CPACK_PACKAGE_DESCRIPTION_FILE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/src/../README.md")
|
||||||
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Simple and easy-to-use library to enjoy videogames programming")
|
||||||
|
set(CPACK_PACKAGE_FILE_NAME "raylib-5.5.0-Source")
|
||||||
|
set(CPACK_PACKAGE_INSTALL_DIRECTORY "raylib 5.5.0")
|
||||||
|
set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "raylib 5.5.0")
|
||||||
|
set(CPACK_PACKAGE_NAME "raylib")
|
||||||
|
set(CPACK_PACKAGE_RELOCATABLE "true")
|
||||||
|
set(CPACK_PACKAGE_VENDOR "Humanity")
|
||||||
|
set(CPACK_PACKAGE_VERSION "5.5.0")
|
||||||
|
set(CPACK_PACKAGE_VERSION_MAJOR "")
|
||||||
|
set(CPACK_PACKAGE_VERSION_MINOR "")
|
||||||
|
set(CPACK_PACKAGE_VERSION_PATCH "")
|
||||||
|
set(CPACK_READELF_EXECUTABLE "/usr/bin/readelf")
|
||||||
|
set(CPACK_RESOURCE_FILE_LICENSE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/src/../LICENSE")
|
||||||
|
set(CPACK_RESOURCE_FILE_README "/usr/share/cmake/Templates/CPack.GenericDescription.txt")
|
||||||
|
set(CPACK_RESOURCE_FILE_WELCOME "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/_deps/raylib-src/src/../README.md")
|
||||||
|
set(CPACK_RPM_PACKAGE_NAME "libraylib-devel")
|
||||||
|
set(CPACK_RPM_PACKAGE_SOURCES "ON")
|
||||||
|
set(CPACK_SET_DESTDIR "OFF")
|
||||||
|
set(CPACK_SOURCE_GENERATOR "TBZ2;TGZ;TXZ;TZ")
|
||||||
|
set(CPACK_SOURCE_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp\$;\\.#;/#")
|
||||||
|
set(CPACK_SOURCE_INSTALLED_DIRECTORIES "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container;/")
|
||||||
|
set(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CPackSourceConfig.cmake")
|
||||||
|
set(CPACK_SOURCE_PACKAGE_FILE_NAME "raylib-5.5.0-Source")
|
||||||
|
set(CPACK_SOURCE_RPM "OFF")
|
||||||
|
set(CPACK_SOURCE_TBZ2 "ON")
|
||||||
|
set(CPACK_SOURCE_TGZ "ON")
|
||||||
|
set(CPACK_SOURCE_TOPLEVEL_TAG "Linux-Source")
|
||||||
|
set(CPACK_SOURCE_TXZ "ON")
|
||||||
|
set(CPACK_SOURCE_TZ "ON")
|
||||||
|
set(CPACK_SOURCE_ZIP "OFF")
|
||||||
|
set(CPACK_STRIP_FILES "")
|
||||||
|
set(CPACK_SYSTEM_NAME "Linux")
|
||||||
|
set(CPACK_THREADS "1")
|
||||||
|
set(CPACK_TOPLEVEL_TAG "Linux-Source")
|
||||||
|
set(CPACK_WIX_SIZEOF_VOID_P "8")
|
||||||
|
|
||||||
|
if(NOT CPACK_PROPERTIES_FILE)
|
||||||
|
set(CPACK_PROPERTIES_FILE "/home/phillip/Projects/clay/examples/raylib-sidebar-scrolling-container/CPackProperties.cmake")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(EXISTS ${CPACK_PROPERTIES_FILE})
|
||||||
|
include(${CPACK_PROPERTIES_FILE})
|
||||||
|
endif()
|
230
examples/textui-sidebar-scrolling-container/Makefile
Normal file
230
examples/textui-sidebar-scrolling-container/Makefile
Normal file
@ -0,0 +1,230 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||||
|
.NOTPARALLEL:
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : %,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : SCCS/s.%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : s.%
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Command-line flag to silence nested $(MAKE).
|
||||||
|
$(VERBOSE)MAKESILENT = -s
|
||||||
|
|
||||||
|
#Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E rm -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Targets provided globally by CMake.
|
||||||
|
|
||||||
|
# Special rule for the target package
|
||||||
|
package: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Run CPack packaging tool..."
|
||||||
|
/usr/bin/cpack --config ./CPackConfig.cmake
|
||||||
|
.PHONY : package
|
||||||
|
|
||||||
|
# Special rule for the target package
|
||||||
|
package/fast: package
|
||||||
|
.PHONY : package/fast
|
||||||
|
|
||||||
|
# Special rule for the target package_source
|
||||||
|
package_source:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Run CPack packaging tool for source..."
|
||||||
|
/usr/bin/cpack --config ./CPackSourceConfig.cmake /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CPackSourceConfig.cmake
|
||||||
|
.PHONY : package_source
|
||||||
|
|
||||||
|
# Special rule for the target package_source
|
||||||
|
package_source/fast: package_source
|
||||||
|
.PHONY : package_source/fast
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
|
||||||
|
/usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||||
|
.PHONY : edit_cache
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache/fast: edit_cache
|
||||||
|
.PHONY : edit_cache/fast
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
|
||||||
|
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||||
|
.PHONY : rebuild_cache
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache/fast: rebuild_cache
|
||||||
|
.PHONY : rebuild_cache/fast
|
||||||
|
|
||||||
|
# The main all target
|
||||||
|
all: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container//CMakeFiles/progress.marks
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/CMakeFiles 0
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean/fast: clean
|
||||||
|
.PHONY : clean/fast
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall: all
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall/fast:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
|
||||||
|
.PHONY : preinstall/fast
|
||||||
|
|
||||||
|
# clear depends
|
||||||
|
depend:
|
||||||
|
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||||
|
.PHONY : depend
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for targets named clay_examples_textui_sidebar_scrolling_container
|
||||||
|
|
||||||
|
# Build rule for target.
|
||||||
|
clay_examples_textui_sidebar_scrolling_container: cmake_check_build_system
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clay_examples_textui_sidebar_scrolling_container
|
||||||
|
.PHONY : clay_examples_textui_sidebar_scrolling_container
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
clay_examples_textui_sidebar_scrolling_container/fast:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build
|
||||||
|
.PHONY : clay_examples_textui_sidebar_scrolling_container/fast
|
||||||
|
|
||||||
|
main.o: main.c.o
|
||||||
|
.PHONY : main.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
main.c.o:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.o
|
||||||
|
.PHONY : main.c.o
|
||||||
|
|
||||||
|
main.i: main.c.i
|
||||||
|
.PHONY : main.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
main.c.i:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.i
|
||||||
|
.PHONY : main.c.i
|
||||||
|
|
||||||
|
main.s: main.c.s
|
||||||
|
.PHONY : main.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
main.c.s:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/main.c.s
|
||||||
|
.PHONY : main.c.s
|
||||||
|
|
||||||
|
multi-compilation-unit.o: multi-compilation-unit.c.o
|
||||||
|
.PHONY : multi-compilation-unit.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
multi-compilation-unit.c.o:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.o
|
||||||
|
.PHONY : multi-compilation-unit.c.o
|
||||||
|
|
||||||
|
multi-compilation-unit.i: multi-compilation-unit.c.i
|
||||||
|
.PHONY : multi-compilation-unit.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
multi-compilation-unit.c.i:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.i
|
||||||
|
.PHONY : multi-compilation-unit.c.i
|
||||||
|
|
||||||
|
multi-compilation-unit.s: multi-compilation-unit.c.s
|
||||||
|
.PHONY : multi-compilation-unit.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
multi-compilation-unit.c.s:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/build.make CMakeFiles/clay_examples_textui_sidebar_scrolling_container.dir/multi-compilation-unit.c.s
|
||||||
|
.PHONY : multi-compilation-unit.c.s
|
||||||
|
|
||||||
|
# Help Target
|
||||||
|
help:
|
||||||
|
@echo "The following are some of the valid targets for this Makefile:"
|
||||||
|
@echo "... all (the default if no target is provided)"
|
||||||
|
@echo "... clean"
|
||||||
|
@echo "... depend"
|
||||||
|
@echo "... edit_cache"
|
||||||
|
@echo "... package"
|
||||||
|
@echo "... package_source"
|
||||||
|
@echo "... rebuild_cache"
|
||||||
|
@echo "... clay_examples_textui_sidebar_scrolling_container"
|
||||||
|
@echo "... main.o"
|
||||||
|
@echo "... main.i"
|
||||||
|
@echo "... main.s"
|
||||||
|
@echo "... multi-compilation-unit.o"
|
||||||
|
@echo "... multi-compilation-unit.i"
|
||||||
|
@echo "... multi-compilation-unit.s"
|
||||||
|
.PHONY : help
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets to cleanup operation of make.
|
||||||
|
|
||||||
|
# Special rule to run CMake to check the build system integrity.
|
||||||
|
# No rule that depends on this can have commands that come from listfiles
|
||||||
|
# because they might be regenerated.
|
||||||
|
cmake_check_build_system:
|
||||||
|
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
39
examples/textui-sidebar-scrolling-container/Readme.md
Normal file
39
examples/textui-sidebar-scrolling-container/Readme.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# textui/console renderer example
|
||||||
|
|
||||||
|
## Inroduction
|
||||||
|
This renderer example utilizes ncurses and a mostly implemented library which converts the clay draw commands into ncurses commands.
|
||||||
|
A console rendering is very limited, and all coordinates are simply rounded via integer division to the coordinate system of a terminal.
|
||||||
|
|
||||||
|
## What works
|
||||||
|
- Rectangles draw approximately correctly with the right color
|
||||||
|
- Text wraps, and is well placed
|
||||||
|
- Clicking a location on a scroll bar moves the scrolled area
|
||||||
|
- Debug mode highlights on click
|
||||||
|
- Window resize and layout reaction
|
||||||
|
|
||||||
|
## What doesn't work
|
||||||
|
- Image rendering
|
||||||
|
- Sub character rectangles
|
||||||
|
- Text fonts and colors
|
||||||
|
- Clay extensions
|
||||||
|
- Clay scissor mode
|
||||||
|
|
||||||
|
## Reasonable expectations
|
||||||
|
This renderer is intended to allow for a nearly dependency free implementation of Clay, and nearly all linux distributions have ncurses installed.
|
||||||
|
This renderer will allow for quick visualization of layouts. There is no graphics acceleration though this example is quite responsive.
|
||||||
|
The unit of a terminal is a character, not a pixel, so there is only so much detail that can be rendered. The default character size defined in the renderer is 5x8 pixels.
|
||||||
|
|
||||||
|
## What could work
|
||||||
|
- More precise rendering of borders and rectangles, this could be implemented with box-drawing characters: https://en.wikipedia.org/wiki/Box-drawing_characters
|
||||||
|
- The mouse wheel on some terminals
|
||||||
|
- Images with an additional dependency on something like kitty: https://sw.kovidgoyal.net/kitty/graphics-protocol/
|
||||||
|
- Better text coloring by matching the background
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
You'll have to setup an event loop using getch(), and pay attention to the various init functions in main.c
|
||||||
|
Then it's the regular Clay layout definition and calls to the renderer function.
|
||||||
|
|
||||||
|
## Conclusion
|
||||||
|
The truth is that if you're willing to learn ncurses and how it handles windows you can get a better terminal experience without Clay.
|
||||||
|
This example shows that for quick terminal apps, Clay could be extremely effective for organizing a user interface in the terminal.
|
||||||
|
I hope that this renderer helps many people build fun and cool projects by lowering the barrier to a framwork.
|
@ -0,0 +1,119 @@
|
|||||||
|
# This is the CMakeCache file.
|
||||||
|
# For build in directory: /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
# It was generated by CMake: /usr/bin/cmake
|
||||||
|
# You can edit this file to change values found and used by cmake.
|
||||||
|
# If you do not want to change any of the values, simply exit the editor.
|
||||||
|
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||||
|
# The syntax for the file is as follows:
|
||||||
|
# KEY:TYPE=VALUE
|
||||||
|
# KEY is the name of a variable in the cache.
|
||||||
|
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||||
|
# VALUE is the current value for the KEY.
|
||||||
|
|
||||||
|
########################
|
||||||
|
# EXTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//Enable/Disable color output during build.
|
||||||
|
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
|
//Enable/Disable output of compile commands during generation.
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
||||||
|
|
||||||
|
//Value Computed by CMake.
|
||||||
|
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/pkgRedirects
|
||||||
|
|
||||||
|
//Install path prefix, prepended onto install directories.
|
||||||
|
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_NAME:STATIC=raylib-populate
|
||||||
|
|
||||||
|
//If set, runtime paths are not added when installing shared libraries,
|
||||||
|
// but are added when building.
|
||||||
|
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||||
|
|
||||||
|
//If set, runtime paths are not added when using shared libraries.
|
||||||
|
CMAKE_SKIP_RPATH:BOOL=NO
|
||||||
|
|
||||||
|
//If this value is on, makefiles will be generated without the
|
||||||
|
// .SILENT directive, and all commands will be echoed to the console
|
||||||
|
// during the make. This is useful for debugging only. With Visual
|
||||||
|
// Studio IDE projects all commands are done without /nologo.
|
||||||
|
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
raylib-populate_BINARY_DIR:STATIC=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
raylib-populate_IS_TOP_LEVEL:STATIC=ON
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
raylib-populate_SOURCE_DIR:STATIC=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# INTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//This is the directory where this CMakeCache.txt was created
|
||||||
|
CMAKE_CACHEFILE_DIR:INTERNAL=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
//Major version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||||
|
//Minor version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MINOR_VERSION:INTERNAL=30
|
||||||
|
//Patch version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=5
|
||||||
|
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||||
|
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake executable.
|
||||||
|
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||||
|
//Path to cpack program executable.
|
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||||
|
//Path to ctest program executable.
|
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||||
|
//Path to cache edit program executable.
|
||||||
|
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
|
||||||
|
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
||||||
|
//Name of external makefile project generator.
|
||||||
|
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||||
|
//Name of generator.
|
||||||
|
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||||
|
//Generator instance identifier.
|
||||||
|
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||||
|
//Name of generator platform.
|
||||||
|
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||||
|
//Name of generator toolset.
|
||||||
|
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||||
|
//Source directory with the top level CMakeLists.txt file for this
|
||||||
|
// project
|
||||||
|
CMAKE_HOME_DIRECTORY:INTERNAL=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
//Install .so files without execute permission.
|
||||||
|
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
|
||||||
|
//number of local generators
|
||||||
|
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
||||||
|
//Platform information initialized
|
||||||
|
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||||
|
//Path to CMake installation.
|
||||||
|
CMAKE_ROOT:INTERNAL=/usr/share/cmake
|
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||||
|
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||||
|
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||||
|
//uname command
|
||||||
|
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
||||||
|
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||||
|
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||||
|
//linker supports push/pop state
|
||||||
|
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=FALSE
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
set(CMAKE_HOST_SYSTEM "Linux-6.12.4-200.fc41.x86_64")
|
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "6.12.4-200.fc41.x86_64")
|
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM "Linux-6.12.4-200.fc41.x86_64")
|
||||||
|
set(CMAKE_SYSTEM_NAME "Linux")
|
||||||
|
set(CMAKE_SYSTEM_VERSION "6.12.4-200.fc41.x86_64")
|
||||||
|
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_LOADED 1)
|
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
---
|
||||||
|
events:
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineSystem.cmake:205 (message)"
|
||||||
|
- "CMakeLists.txt:16 (project)"
|
||||||
|
message: |
|
||||||
|
The system is: Linux - 6.12.4-200.fc41.x86_64 - x86_64
|
||||||
|
...
|
@ -0,0 +1,16 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# Relative path conversion top directories.
|
||||||
|
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild")
|
||||||
|
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild")
|
||||||
|
|
||||||
|
# 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,11 @@
|
|||||||
|
# Hashes of file build rules.
|
||||||
|
29a60977c3c59078509f68da5fe5afcd CMakeFiles/raylib-populate
|
||||||
|
6df6b25b3b26577f95d6eead53af2cff CMakeFiles/raylib-populate-complete
|
||||||
|
b4653bfc13ab44da1247cde54e554ce1 raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-build
|
||||||
|
ed699a76b86494cfed11ab08fecf1473 raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure
|
||||||
|
1b4b52a84a8ffe79debaaea42e18c146 raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download
|
||||||
|
5a668cd76229244c2cab9c280df73fdc raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install
|
||||||
|
77249502b0871322aac704c7b393ba25 raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-mkdir
|
||||||
|
0a563d9e151e2df8c4eda5d6bb22219e raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch
|
||||||
|
0aba7579717685514e0db89d565169bf raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-test
|
||||||
|
7a667d930ce3d0793b9ab22f1ba74a26 raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update
|
@ -0,0 +1,55 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# The generator used is:
|
||||||
|
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||||
|
|
||||||
|
# The top level Makefile was generated from the following files:
|
||||||
|
set(CMAKE_MAKEFILE_DEPENDS
|
||||||
|
"CMakeCache.txt"
|
||||||
|
"CMakeFiles/3.30.5/CMakeSystem.cmake"
|
||||||
|
"CMakeLists.txt"
|
||||||
|
"raylib-populate-prefix/tmp/raylib-populate-mkdirs.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeDetermineSystem.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeGenericSystem.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeInitializeConfigs.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeSystem.cmake.in"
|
||||||
|
"/usr/share/cmake/Modules/CMakeSystemSpecificInformation.cmake"
|
||||||
|
"/usr/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||||
|
"/usr/share/cmake/Modules/ExternalProject.cmake"
|
||||||
|
"/usr/share/cmake/Modules/ExternalProject/PatchInfo.txt.in"
|
||||||
|
"/usr/share/cmake/Modules/ExternalProject/RepositoryInfo.txt.in"
|
||||||
|
"/usr/share/cmake/Modules/ExternalProject/UpdateInfo.txt.in"
|
||||||
|
"/usr/share/cmake/Modules/ExternalProject/cfgcmd.txt.in"
|
||||||
|
"/usr/share/cmake/Modules/ExternalProject/gitclone.cmake.in"
|
||||||
|
"/usr/share/cmake/Modules/ExternalProject/gitupdate.cmake.in"
|
||||||
|
"/usr/share/cmake/Modules/ExternalProject/mkdirs.cmake.in"
|
||||||
|
"/usr/share/cmake/Modules/ExternalProject/shared_internal_commands.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Platform/Linux-Initialize.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Platform/Linux.cmake"
|
||||||
|
"/usr/share/cmake/Modules/Platform/UnixPaths.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# The corresponding makefile is:
|
||||||
|
set(CMAKE_MAKEFILE_OUTPUTS
|
||||||
|
"Makefile"
|
||||||
|
"CMakeFiles/cmake.check_cache"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Byproducts of CMake generate step:
|
||||||
|
set(CMAKE_MAKEFILE_PRODUCTS
|
||||||
|
"CMakeFiles/3.30.5/CMakeSystem.cmake"
|
||||||
|
"raylib-populate-prefix/tmp/raylib-populate-mkdirs.cmake"
|
||||||
|
"raylib-populate-prefix/tmp/raylib-populate-gitclone.cmake"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitinfo.txt"
|
||||||
|
"raylib-populate-prefix/tmp/raylib-populate-gitupdate.cmake"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update-info.txt"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch-info.txt"
|
||||||
|
"raylib-populate-prefix/tmp/raylib-populate-cfgcmd.txt"
|
||||||
|
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Dependency information for all targets:
|
||||||
|
set(CMAKE_DEPEND_INFO_FILES
|
||||||
|
"CMakeFiles/raylib-populate.dir/DependInfo.cmake"
|
||||||
|
)
|
@ -0,0 +1,112 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : %,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : SCCS/s.%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : s.%
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Command-line flag to silence nested $(MAKE).
|
||||||
|
$(VERBOSE)MAKESILENT = -s
|
||||||
|
|
||||||
|
#Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E rm -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Directory level rules for the build root directory
|
||||||
|
|
||||||
|
# The main recursive "all" target.
|
||||||
|
all: CMakeFiles/raylib-populate.dir/all
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main recursive "preinstall" target.
|
||||||
|
preinstall:
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
# The main recursive "clean" target.
|
||||||
|
clean: CMakeFiles/raylib-populate.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target CMakeFiles/raylib-populate.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
CMakeFiles/raylib-populate.dir/all:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/raylib-populate.dir/build.make CMakeFiles/raylib-populate.dir/depend
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/raylib-populate.dir/build.make CMakeFiles/raylib-populate.dir/build
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9 "Built target raylib-populate"
|
||||||
|
.PHONY : CMakeFiles/raylib-populate.dir/all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
CMakeFiles/raylib-populate.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles 9
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/raylib-populate.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles 0
|
||||||
|
.PHONY : CMakeFiles/raylib-populate.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
raylib-populate: CMakeFiles/raylib-populate.dir/rule
|
||||||
|
.PHONY : raylib-populate
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
CMakeFiles/raylib-populate.dir/clean:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/raylib-populate.dir/build.make CMakeFiles/raylib-populate.dir/clean
|
||||||
|
.PHONY : CMakeFiles/raylib-populate.dir/clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets to cleanup operation of make.
|
||||||
|
|
||||||
|
# Special rule to run CMake to check the build system integrity.
|
||||||
|
# No rule that depends on this can have commands that come from listfiles
|
||||||
|
# because they might be regenerated.
|
||||||
|
cmake_check_build_system:
|
||||||
|
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
empty
|
@ -0,0 +1 @@
|
|||||||
|
empty
|
@ -0,0 +1 @@
|
|||||||
|
9
|
@ -0,0 +1,3 @@
|
|||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/raylib-populate.dir
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/edit_cache.dir
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/rebuild_cache.dir
|
@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
@ -0,0 +1 @@
|
|||||||
|
9
|
@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
# Consider dependencies only in project.
|
||||||
|
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||||
|
|
||||||
|
# The set of languages for which implicit dependencies are needed:
|
||||||
|
set(CMAKE_DEPENDS_LANGUAGES
|
||||||
|
)
|
||||||
|
|
||||||
|
# The set of dependency files which are needed:
|
||||||
|
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# Targets to which this target links which contain Fortran sources.
|
||||||
|
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# Targets to which this target links which contain Fortran sources.
|
||||||
|
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# Fortran module output directory.
|
||||||
|
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
"sources" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/raylib-populate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/raylib-populate.rule"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/raylib-populate-complete.rule"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-build.rule"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure.rule"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download.rule"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install.rule"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-mkdir.rule"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch.rule"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-test.rule"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update.rule"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"target" :
|
||||||
|
{
|
||||||
|
"labels" :
|
||||||
|
[
|
||||||
|
"raylib-populate"
|
||||||
|
],
|
||||||
|
"name" : "raylib-populate"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
# Target labels
|
||||||
|
raylib-populate
|
||||||
|
# Source files and their labels
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/raylib-populate
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/raylib-populate.rule
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/raylib-populate-complete.rule
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-build.rule
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure.rule
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download.rule
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install.rule
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-mkdir.rule
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch.rule
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-test.rule
|
||||||
|
/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update.rule
|
@ -0,0 +1,159 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# Delete rule output on recipe failure.
|
||||||
|
.DELETE_ON_ERROR:
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : %,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : SCCS/s.%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : s.%
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Command-line flag to silence nested $(MAKE).
|
||||||
|
$(VERBOSE)MAKESILENT = -s
|
||||||
|
|
||||||
|
#Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E rm -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
|
||||||
|
# Utility rule file for raylib-populate.
|
||||||
|
|
||||||
|
# Include any custom commands dependencies for this target.
|
||||||
|
include CMakeFiles/raylib-populate.dir/compiler_depend.make
|
||||||
|
|
||||||
|
# Include the progress variables for this target.
|
||||||
|
include CMakeFiles/raylib-populate.dir/progress.make
|
||||||
|
|
||||||
|
CMakeFiles/raylib-populate: CMakeFiles/raylib-populate-complete
|
||||||
|
|
||||||
|
CMakeFiles/raylib-populate-complete: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install
|
||||||
|
CMakeFiles/raylib-populate-complete: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-mkdir
|
||||||
|
CMakeFiles/raylib-populate-complete: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download
|
||||||
|
CMakeFiles/raylib-populate-complete: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update
|
||||||
|
CMakeFiles/raylib-populate-complete: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch
|
||||||
|
CMakeFiles/raylib-populate-complete: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure
|
||||||
|
CMakeFiles/raylib-populate-complete: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-build
|
||||||
|
CMakeFiles/raylib-populate-complete: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install
|
||||||
|
CMakeFiles/raylib-populate-complete: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-test
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Completed 'raylib-populate'"
|
||||||
|
/usr/bin/cmake -E make_directory /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles
|
||||||
|
/usr/bin/cmake -E touch /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/raylib-populate-complete
|
||||||
|
/usr/bin/cmake -E touch /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-done
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update:
|
||||||
|
.PHONY : raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-build: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "No build step for 'raylib-populate'"
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build && /usr/bin/cmake -E echo_append
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build && /usr/bin/cmake -E touch /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-build
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure: raylib-populate-prefix/tmp/raylib-populate-cfgcmd.txt
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "No configure step for 'raylib-populate'"
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build && /usr/bin/cmake -E echo_append
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build && /usr/bin/cmake -E touch /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitinfo.txt
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-mkdir
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Performing download step (git clone) for 'raylib-populate'"
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps && /usr/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/tmp/raylib-populate-gitclone.cmake
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps && /usr/bin/cmake -E touch /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-build
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "No install step for 'raylib-populate'"
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build && /usr/bin/cmake -E echo_append
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build && /usr/bin/cmake -E touch /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-mkdir:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Creating directories for 'raylib-populate'"
|
||||||
|
/usr/bin/cmake -Dcfgdir= -P /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/tmp/raylib-populate-mkdirs.cmake
|
||||||
|
/usr/bin/cmake -E touch /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-mkdir
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch-info.txt
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "No patch step for 'raylib-populate'"
|
||||||
|
/usr/bin/cmake -E echo_append
|
||||||
|
/usr/bin/cmake -E touch /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update:
|
||||||
|
.PHONY : raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-test: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "No test step for 'raylib-populate'"
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build && /usr/bin/cmake -E echo_append
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build && /usr/bin/cmake -E touch /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-test
|
||||||
|
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update: raylib-populate-prefix/tmp/raylib-populate-gitupdate.cmake
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update-info.txt
|
||||||
|
raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Performing update step for 'raylib-populate'"
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src && /usr/bin/cmake -Dcan_fetch=YES -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/tmp/raylib-populate-gitupdate.cmake
|
||||||
|
|
||||||
|
raylib-populate: CMakeFiles/raylib-populate
|
||||||
|
raylib-populate: CMakeFiles/raylib-populate-complete
|
||||||
|
raylib-populate: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-build
|
||||||
|
raylib-populate: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure
|
||||||
|
raylib-populate: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download
|
||||||
|
raylib-populate: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install
|
||||||
|
raylib-populate: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-mkdir
|
||||||
|
raylib-populate: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch
|
||||||
|
raylib-populate: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-test
|
||||||
|
raylib-populate: raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update
|
||||||
|
raylib-populate: CMakeFiles/raylib-populate.dir/build.make
|
||||||
|
.PHONY : raylib-populate
|
||||||
|
|
||||||
|
# Rule to build all files generated by this target.
|
||||||
|
CMakeFiles/raylib-populate.dir/build: raylib-populate
|
||||||
|
.PHONY : CMakeFiles/raylib-populate.dir/build
|
||||||
|
|
||||||
|
CMakeFiles/raylib-populate.dir/clean:
|
||||||
|
$(CMAKE_COMMAND) -P CMakeFiles/raylib-populate.dir/cmake_clean.cmake
|
||||||
|
.PHONY : CMakeFiles/raylib-populate.dir/clean
|
||||||
|
|
||||||
|
CMakeFiles/raylib-populate.dir/depend:
|
||||||
|
cd /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles/raylib-populate.dir/DependInfo.cmake "--color=$(COLOR)"
|
||||||
|
.PHONY : CMakeFiles/raylib-populate.dir/depend
|
||||||
|
|
@ -0,0 +1,17 @@
|
|||||||
|
file(REMOVE_RECURSE
|
||||||
|
"CMakeFiles/raylib-populate"
|
||||||
|
"CMakeFiles/raylib-populate-complete"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-build"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-configure"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-download"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-install"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-mkdir"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-patch"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-test"
|
||||||
|
"raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-update"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Per-language clean rules from dependency scanning.
|
||||||
|
foreach(lang )
|
||||||
|
include(CMakeFiles/raylib-populate.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||||
|
endforeach()
|
@ -0,0 +1,2 @@
|
|||||||
|
# Empty custom commands generated dependencies file for raylib-populate.
|
||||||
|
# This may be replaced when dependencies are built.
|
@ -0,0 +1,2 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Timestamp file for custom commands dependencies management for raylib-populate.
|
@ -0,0 +1,10 @@
|
|||||||
|
CMAKE_PROGRESS_1 = 1
|
||||||
|
CMAKE_PROGRESS_2 = 2
|
||||||
|
CMAKE_PROGRESS_3 = 3
|
||||||
|
CMAKE_PROGRESS_4 = 4
|
||||||
|
CMAKE_PROGRESS_5 = 5
|
||||||
|
CMAKE_PROGRESS_6 = 6
|
||||||
|
CMAKE_PROGRESS_7 = 7
|
||||||
|
CMAKE_PROGRESS_8 = 8
|
||||||
|
CMAKE_PROGRESS_9 = 9
|
||||||
|
|
@ -0,0 +1,42 @@
|
|||||||
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||||
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.30.5)
|
||||||
|
|
||||||
|
# Reject any attempt to use a toolchain file. We must not use one because
|
||||||
|
# we could be downloading it here. If the CMAKE_TOOLCHAIN_FILE environment
|
||||||
|
# variable is set, the cache variable will have been initialized from it.
|
||||||
|
unset(CMAKE_TOOLCHAIN_FILE CACHE)
|
||||||
|
unset(ENV{CMAKE_TOOLCHAIN_FILE})
|
||||||
|
|
||||||
|
# We name the project and the target for the ExternalProject_Add() call
|
||||||
|
# to something that will highlight to the user what we are working on if
|
||||||
|
# something goes wrong and an error message is produced.
|
||||||
|
|
||||||
|
project(raylib-populate NONE)
|
||||||
|
|
||||||
|
|
||||||
|
# Pass through things we've already detected in the main project to avoid
|
||||||
|
# paying the cost of redetecting them again in ExternalProject_Add()
|
||||||
|
set(GIT_EXECUTABLE [==[/usr/bin/git]==])
|
||||||
|
set(GIT_VERSION_STRING [==[2.47.1]==])
|
||||||
|
set_property(GLOBAL PROPERTY _CMAKE_FindGit_GIT_EXECUTABLE_VERSION
|
||||||
|
[==[/usr/bin/git;2.47.1]==]
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
include(ExternalProject)
|
||||||
|
ExternalProject_Add(raylib-populate
|
||||||
|
"UPDATE_DISCONNECTED" "False" "GIT_REPOSITORY" "https://github.com/raysan5/raylib.git" "EXTERNALPROJECT_INTERNAL_ARGUMENT_SEPARATOR" "GIT_TAG" "master" "GIT_PROGRESS" "TRUE" "GIT_SHALLOW" "TRUE"
|
||||||
|
SOURCE_DIR "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
BINARY_DIR "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build"
|
||||||
|
CONFIGURE_COMMAND ""
|
||||||
|
BUILD_COMMAND ""
|
||||||
|
INSTALL_COMMAND ""
|
||||||
|
TEST_COMMAND ""
|
||||||
|
USES_TERMINAL_DOWNLOAD YES
|
||||||
|
USES_TERMINAL_UPDATE YES
|
||||||
|
USES_TERMINAL_PATCH YES
|
||||||
|
)
|
||||||
|
|
||||||
|
|
@ -0,0 +1,154 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||||
|
.NOTPARALLEL:
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : %,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : RCS/%,v
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : SCCS/s.%
|
||||||
|
|
||||||
|
# Disable VCS-based implicit rules.
|
||||||
|
% : s.%
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Command-line flag to silence nested $(MAKE).
|
||||||
|
$(VERBOSE)MAKESILENT = -s
|
||||||
|
|
||||||
|
#Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E rm -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Targets provided globally by CMake.
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
|
||||||
|
/usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||||
|
.PHONY : edit_cache
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache/fast: edit_cache
|
||||||
|
.PHONY : edit_cache/fast
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
|
||||||
|
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||||
|
.PHONY : rebuild_cache
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache/fast: rebuild_cache
|
||||||
|
.PHONY : rebuild_cache/fast
|
||||||
|
|
||||||
|
# The main all target
|
||||||
|
all: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild//CMakeFiles/progress.marks
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/CMakeFiles 0
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean/fast: clean
|
||||||
|
.PHONY : clean/fast
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall: all
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall/fast:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
|
||||||
|
.PHONY : preinstall/fast
|
||||||
|
|
||||||
|
# clear depends
|
||||||
|
depend:
|
||||||
|
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||||
|
.PHONY : depend
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for targets named raylib-populate
|
||||||
|
|
||||||
|
# Build rule for target.
|
||||||
|
raylib-populate: cmake_check_build_system
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 raylib-populate
|
||||||
|
.PHONY : raylib-populate
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
raylib-populate/fast:
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/raylib-populate.dir/build.make CMakeFiles/raylib-populate.dir/build
|
||||||
|
.PHONY : raylib-populate/fast
|
||||||
|
|
||||||
|
# Help Target
|
||||||
|
help:
|
||||||
|
@echo "The following are some of the valid targets for this Makefile:"
|
||||||
|
@echo "... all (the default if no target is provided)"
|
||||||
|
@echo "... clean"
|
||||||
|
@echo "... depend"
|
||||||
|
@echo "... edit_cache"
|
||||||
|
@echo "... rebuild_cache"
|
||||||
|
@echo "... raylib-populate"
|
||||||
|
.PHONY : help
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets to cleanup operation of make.
|
||||||
|
|
||||||
|
# Special rule to run CMake to check the build system integrity.
|
||||||
|
# No rule that depends on this can have commands that come from listfiles
|
||||||
|
# because they might be regenerated.
|
||||||
|
cmake_check_build_system:
|
||||||
|
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
@ -0,0 +1,57 @@
|
|||||||
|
# Install script for directory: /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild
|
||||||
|
|
||||||
|
# Set the install prefix
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
|
endif()
|
||||||
|
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||||
|
|
||||||
|
# Set the install configuration name.
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
if(BUILD_TYPE)
|
||||||
|
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||||
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||||
|
endif()
|
||||||
|
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Set the component getting installed.
|
||||||
|
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
if(COMPONENT)
|
||||||
|
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||||
|
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_COMPONENT)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Install shared libraries without execute permission?
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
set(CMAKE_INSTALL_SO_NO_EXE "0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Is this installation the result of a crosscompile?
|
||||||
|
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_INSTALL_COMPONENT)
|
||||||
|
if(CMAKE_INSTALL_COMPONENT MATCHES "^[a-zA-Z0-9_.+-]+$")
|
||||||
|
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
||||||
|
else()
|
||||||
|
string(MD5 CMAKE_INST_COMP_HASH "${CMAKE_INSTALL_COMPONENT}")
|
||||||
|
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INST_COMP_HASH}.txt")
|
||||||
|
unset(CMAKE_INST_COMP_HASH)
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||||
|
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
||||||
|
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
||||||
|
file(WRITE "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/${CMAKE_INSTALL_MANIFEST}"
|
||||||
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
||||||
|
endif()
|
@ -0,0 +1,15 @@
|
|||||||
|
# This is a generated file and its contents are an internal implementation detail.
|
||||||
|
# The download step will be re-executed if anything in this file changes.
|
||||||
|
# No other meaning or use of this file is supported.
|
||||||
|
|
||||||
|
method=git
|
||||||
|
command=/usr/bin/cmake;-DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE;-P;/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/tmp/raylib-populate-gitclone.cmake
|
||||||
|
source_dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src
|
||||||
|
work_dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps
|
||||||
|
repository=https://github.com/raysan5/raylib.git
|
||||||
|
remote=origin
|
||||||
|
init_submodules=TRUE
|
||||||
|
recurse_submodules=--recursive
|
||||||
|
submodules=
|
||||||
|
CMP0097=NEW
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
# This is a generated file and its contents are an internal implementation detail.
|
||||||
|
# The update step will be re-executed if anything in this file changes.
|
||||||
|
# No other meaning or use of this file is supported.
|
||||||
|
|
||||||
|
command=
|
||||||
|
work_dir=
|
@ -0,0 +1,7 @@
|
|||||||
|
# This is a generated file and its contents are an internal implementation detail.
|
||||||
|
# The patch step will be re-executed if anything in this file changes.
|
||||||
|
# No other meaning or use of this file is supported.
|
||||||
|
|
||||||
|
command (connected)=/usr/bin/cmake;-Dcan_fetch=YES;-DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE;-P;/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/tmp/raylib-populate-gitupdate.cmake
|
||||||
|
command (disconnected)=/usr/bin/cmake;-Dcan_fetch=NO;-DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE;-P;/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/tmp/raylib-populate-gitupdate.cmake
|
||||||
|
work_dir=/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src
|
@ -0,0 +1 @@
|
|||||||
|
cmd=''
|
@ -0,0 +1,87 @@
|
|||||||
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||||
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.5)
|
||||||
|
|
||||||
|
if(EXISTS "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitclone-lastrun.txt" AND EXISTS "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitinfo.txt" AND
|
||||||
|
"/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitclone-lastrun.txt" IS_NEWER_THAN "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitinfo.txt")
|
||||||
|
message(VERBOSE
|
||||||
|
"Avoiding repeated git clone, stamp file is up to date: "
|
||||||
|
"'/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitclone-lastrun.txt'"
|
||||||
|
)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Even at VERBOSE level, we don't want to see the commands executed, but
|
||||||
|
# enabling them to be shown for DEBUG may be useful to help diagnose problems.
|
||||||
|
cmake_language(GET_MESSAGE_LOG_LEVEL active_log_level)
|
||||||
|
if(active_log_level MATCHES "DEBUG|TRACE")
|
||||||
|
set(maybe_show_command COMMAND_ECHO STDOUT)
|
||||||
|
else()
|
||||||
|
set(maybe_show_command "")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E rm -rf "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
if(error_code)
|
||||||
|
message(FATAL_ERROR "Failed to remove directory: '/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src'")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# try the clone 3 times in case there is an odd git clone issue
|
||||||
|
set(error_code 1)
|
||||||
|
set(number_of_tries 0)
|
||||||
|
while(error_code AND number_of_tries LESS 3)
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git"
|
||||||
|
clone --no-checkout --depth 1 --no-single-branch --progress --config "advice.detachedHead=false" "https://github.com/raysan5/raylib.git" "raylib-src"
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
math(EXPR number_of_tries "${number_of_tries} + 1")
|
||||||
|
endwhile()
|
||||||
|
if(number_of_tries GREATER 1)
|
||||||
|
message(NOTICE "Had to git clone more than once: ${number_of_tries} times.")
|
||||||
|
endif()
|
||||||
|
if(error_code)
|
||||||
|
message(FATAL_ERROR "Failed to clone repository: 'https://github.com/raysan5/raylib.git'")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git"
|
||||||
|
checkout "master" --
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
if(error_code)
|
||||||
|
message(FATAL_ERROR "Failed to checkout tag: 'master'")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(init_submodules TRUE)
|
||||||
|
if(init_submodules)
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git"
|
||||||
|
submodule update --recursive --init
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if(error_code)
|
||||||
|
message(FATAL_ERROR "Failed to update submodules in: '/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src'")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Complete success, update the script-last-run stamp file:
|
||||||
|
#
|
||||||
|
execute_process(
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitinfo.txt" "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitclone-lastrun.txt"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
if(error_code)
|
||||||
|
message(FATAL_ERROR "Failed to copy script-last-run stamp file: '/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/raylib-populate-gitclone-lastrun.txt'")
|
||||||
|
endif()
|
@ -0,0 +1,317 @@
|
|||||||
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||||
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.5)
|
||||||
|
|
||||||
|
# Even at VERBOSE level, we don't want to see the commands executed, but
|
||||||
|
# enabling them to be shown for DEBUG may be useful to help diagnose problems.
|
||||||
|
cmake_language(GET_MESSAGE_LOG_LEVEL active_log_level)
|
||||||
|
if(active_log_level MATCHES "DEBUG|TRACE")
|
||||||
|
set(maybe_show_command COMMAND_ECHO STDOUT)
|
||||||
|
else()
|
||||||
|
set(maybe_show_command "")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
function(do_fetch)
|
||||||
|
message(VERBOSE "Fetching latest from the remote origin")
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git fetch --tags --force "origin"
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
COMMAND_ERROR_IS_FATAL LAST
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
function(get_hash_for_ref ref out_var err_var)
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git rev-parse "${ref}^0"
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
OUTPUT_VARIABLE ref_hash
|
||||||
|
ERROR_VARIABLE error_msg
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
)
|
||||||
|
if(error_code)
|
||||||
|
set(${out_var} "" PARENT_SCOPE)
|
||||||
|
else()
|
||||||
|
set(${out_var} "${ref_hash}" PARENT_SCOPE)
|
||||||
|
endif()
|
||||||
|
set(${err_var} "${error_msg}" PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
get_hash_for_ref(HEAD head_sha error_msg)
|
||||||
|
if(head_sha STREQUAL "")
|
||||||
|
message(FATAL_ERROR "Failed to get the hash for HEAD:\n${error_msg}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if("${can_fetch}" STREQUAL "")
|
||||||
|
set(can_fetch "YES")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git show-ref "master"
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
OUTPUT_VARIABLE show_ref_output
|
||||||
|
)
|
||||||
|
if(show_ref_output MATCHES "^[a-z0-9]+[ \\t]+refs/remotes/")
|
||||||
|
# Given a full remote/branch-name and we know about it already. Since
|
||||||
|
# branches can move around, we should always fetch, if permitted.
|
||||||
|
if(can_fetch)
|
||||||
|
do_fetch()
|
||||||
|
endif()
|
||||||
|
set(checkout_name "master")
|
||||||
|
|
||||||
|
elseif(show_ref_output MATCHES "^[a-z0-9]+[ \\t]+refs/tags/")
|
||||||
|
# Given a tag name that we already know about. We don't know if the tag we
|
||||||
|
# have matches the remote though (tags can move), so we should fetch. As a
|
||||||
|
# special case to preserve backward compatibility, if we are already at the
|
||||||
|
# same commit as the tag we hold locally, don't do a fetch and assume the tag
|
||||||
|
# hasn't moved on the remote.
|
||||||
|
# FIXME: We should provide an option to always fetch for this case
|
||||||
|
get_hash_for_ref("master" tag_sha error_msg)
|
||||||
|
if(tag_sha STREQUAL head_sha)
|
||||||
|
message(VERBOSE "Already at requested tag: master")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(can_fetch)
|
||||||
|
do_fetch()
|
||||||
|
endif()
|
||||||
|
set(checkout_name "master")
|
||||||
|
|
||||||
|
elseif(show_ref_output MATCHES "^[a-z0-9]+[ \\t]+refs/heads/")
|
||||||
|
# Given a branch name without any remote and we already have a branch by that
|
||||||
|
# name. We might already have that branch checked out or it might be a
|
||||||
|
# different branch. It isn't fully safe to use a bare branch name without the
|
||||||
|
# remote, so do a fetch (if allowed) and replace the ref with one that
|
||||||
|
# includes the remote.
|
||||||
|
if(can_fetch)
|
||||||
|
do_fetch()
|
||||||
|
endif()
|
||||||
|
set(checkout_name "origin/master")
|
||||||
|
|
||||||
|
else()
|
||||||
|
get_hash_for_ref("master" tag_sha error_msg)
|
||||||
|
if(tag_sha STREQUAL head_sha)
|
||||||
|
# Have the right commit checked out already
|
||||||
|
message(VERBOSE "Already at requested ref: ${tag_sha}")
|
||||||
|
return()
|
||||||
|
|
||||||
|
elseif(tag_sha STREQUAL "")
|
||||||
|
# We don't know about this ref yet, so we have no choice but to fetch.
|
||||||
|
if(NOT can_fetch)
|
||||||
|
message(FATAL_ERROR
|
||||||
|
"Requested git ref \"master\" is not present locally, and not "
|
||||||
|
"allowed to contact remote due to UPDATE_DISCONNECTED setting."
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# We deliberately swallow any error message at the default log level
|
||||||
|
# because it can be confusing for users to see a failed git command.
|
||||||
|
# That failure is being handled here, so it isn't an error.
|
||||||
|
if(NOT error_msg STREQUAL "")
|
||||||
|
message(DEBUG "${error_msg}")
|
||||||
|
endif()
|
||||||
|
do_fetch()
|
||||||
|
set(checkout_name "master")
|
||||||
|
|
||||||
|
else()
|
||||||
|
# We have the commit, so we know we were asked to find a commit hash
|
||||||
|
# (otherwise it would have been handled further above), but we don't
|
||||||
|
# have that commit checked out yet. We don't need to fetch from the remote.
|
||||||
|
set(checkout_name "master")
|
||||||
|
if(NOT error_msg STREQUAL "")
|
||||||
|
message(WARNING "${error_msg}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(git_update_strategy "REBASE")
|
||||||
|
if(git_update_strategy STREQUAL "")
|
||||||
|
# Backward compatibility requires REBASE as the default behavior
|
||||||
|
set(git_update_strategy REBASE)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(git_update_strategy MATCHES "^REBASE(_CHECKOUT)?$")
|
||||||
|
# Asked to potentially try to rebase first, maybe with fallback to checkout.
|
||||||
|
# We can't if we aren't already on a branch and we shouldn't if that local
|
||||||
|
# branch isn't tracking the one we want to checkout.
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git symbolic-ref -q HEAD
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
OUTPUT_VARIABLE current_branch
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
# Don't test for an error. If this isn't a branch, we get a non-zero error
|
||||||
|
# code but empty output.
|
||||||
|
)
|
||||||
|
|
||||||
|
if(current_branch STREQUAL "")
|
||||||
|
# Not on a branch, checkout is the only sensible option since any rebase
|
||||||
|
# would always fail (and backward compatibility requires us to checkout in
|
||||||
|
# this situation)
|
||||||
|
set(git_update_strategy CHECKOUT)
|
||||||
|
|
||||||
|
else()
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git for-each-ref "--format=%(upstream:short)" "${current_branch}"
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
OUTPUT_VARIABLE upstream_branch
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
COMMAND_ERROR_IS_FATAL ANY # There is no error if no upstream is set
|
||||||
|
)
|
||||||
|
if(NOT upstream_branch STREQUAL checkout_name)
|
||||||
|
# Not safe to rebase when asked to checkout a different branch to the one
|
||||||
|
# we are tracking. If we did rebase, we could end up with arbitrary
|
||||||
|
# commits added to the ref we were asked to checkout if the current local
|
||||||
|
# branch happens to be able to rebase onto the target branch. There would
|
||||||
|
# be no error message and the user wouldn't know this was occurring.
|
||||||
|
set(git_update_strategy CHECKOUT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
endif()
|
||||||
|
elseif(NOT git_update_strategy STREQUAL "CHECKOUT")
|
||||||
|
message(FATAL_ERROR "Unsupported git update strategy: ${git_update_strategy}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
# Check if stash is needed
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git status --porcelain
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
OUTPUT_VARIABLE repo_status
|
||||||
|
)
|
||||||
|
if(error_code)
|
||||||
|
message(FATAL_ERROR "Failed to get the status")
|
||||||
|
endif()
|
||||||
|
string(LENGTH "${repo_status}" need_stash)
|
||||||
|
|
||||||
|
# If not in clean state, stash changes in order to be able to perform a
|
||||||
|
# rebase or checkout without losing those changes permanently
|
||||||
|
if(need_stash)
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git stash save --quiet;--include-untracked
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
COMMAND_ERROR_IS_FATAL ANY
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(git_update_strategy STREQUAL "CHECKOUT")
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git checkout "${checkout_name}"
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
COMMAND_ERROR_IS_FATAL ANY
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git rebase "${checkout_name}"
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
OUTPUT_VARIABLE rebase_output
|
||||||
|
ERROR_VARIABLE rebase_output
|
||||||
|
)
|
||||||
|
if(error_code)
|
||||||
|
# Rebase failed, undo the rebase attempt before continuing
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git rebase --abort
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
|
||||||
|
if(NOT git_update_strategy STREQUAL "REBASE_CHECKOUT")
|
||||||
|
# Not allowed to do a checkout as a fallback, so cannot proceed
|
||||||
|
if(need_stash)
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git stash pop --index --quiet
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
message(FATAL_ERROR "\nFailed to rebase in: '/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src'."
|
||||||
|
"\nOutput from the attempted rebase follows:"
|
||||||
|
"\n${rebase_output}"
|
||||||
|
"\n\nYou will have to resolve the conflicts manually")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Fall back to checkout. We create an annotated tag so that the user
|
||||||
|
# can manually inspect the situation and revert if required.
|
||||||
|
# We can't log the failed rebase output because MSVC sees it and
|
||||||
|
# intervenes, causing the build to fail even though it completes.
|
||||||
|
# Write it to a file instead.
|
||||||
|
string(TIMESTAMP tag_timestamp "%Y%m%dT%H%M%S" UTC)
|
||||||
|
set(tag_name _cmake_ExternalProject_moved_from_here_${tag_timestamp}Z)
|
||||||
|
set(error_log_file ${CMAKE_CURRENT_LIST_DIR}/rebase_error_${tag_timestamp}Z.log)
|
||||||
|
file(WRITE ${error_log_file} "${rebase_output}")
|
||||||
|
message(WARNING "Rebase failed, output has been saved to ${error_log_file}"
|
||||||
|
"\nFalling back to checkout, previous commit tagged as ${tag_name}")
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git tag -a
|
||||||
|
-m "ExternalProject attempting to move from here to ${checkout_name}"
|
||||||
|
${tag_name}
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
COMMAND_ERROR_IS_FATAL ANY
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git checkout "${checkout_name}"
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
COMMAND_ERROR_IS_FATAL ANY
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(need_stash)
|
||||||
|
# Put back the stashed changes
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git stash pop --index --quiet
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
if(error_code)
|
||||||
|
# Stash pop --index failed: Try again dropping the index
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git reset --hard --quiet
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git stash pop --quiet
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
RESULT_VARIABLE error_code
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
if(error_code)
|
||||||
|
# Stash pop failed: Restore previous state.
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git reset --hard --quiet ${head_sha}
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git" --git-dir=.git stash pop --index --quiet
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
message(FATAL_ERROR "\nFailed to unstash changes in: '/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src'."
|
||||||
|
"\nYou will have to resolve the conflicts manually")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(init_submodules "TRUE")
|
||||||
|
if(init_submodules)
|
||||||
|
execute_process(
|
||||||
|
COMMAND "/usr/bin/git"
|
||||||
|
--git-dir=.git
|
||||||
|
submodule update --recursive --init
|
||||||
|
WORKING_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src"
|
||||||
|
COMMAND_ERROR_IS_FATAL ANY
|
||||||
|
${maybe_show_command}
|
||||||
|
)
|
||||||
|
endif()
|
@ -0,0 +1,27 @@
|
|||||||
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||||
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.5)
|
||||||
|
|
||||||
|
# If CMAKE_DISABLE_SOURCE_CHANGES is set to true and the source directory is an
|
||||||
|
# existing directory in our source tree, calling file(MAKE_DIRECTORY) on it
|
||||||
|
# would cause a fatal error, even though it would be a no-op.
|
||||||
|
if(NOT EXISTS "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src")
|
||||||
|
file(MAKE_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-src")
|
||||||
|
endif()
|
||||||
|
file(MAKE_DIRECTORY
|
||||||
|
"/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-build"
|
||||||
|
"/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix"
|
||||||
|
"/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/tmp"
|
||||||
|
"/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp"
|
||||||
|
"/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src"
|
||||||
|
"/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp"
|
||||||
|
)
|
||||||
|
|
||||||
|
set(configSubDirs )
|
||||||
|
foreach(subDir IN LISTS configSubDirs)
|
||||||
|
file(MAKE_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp/${subDir}")
|
||||||
|
endforeach()
|
||||||
|
if(cfgdir)
|
||||||
|
file(MAKE_DIRECTORY "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/_deps/raylib-subbuild/raylib-populate-prefix/src/raylib-populate-stamp${cfgdir}") # cfgdir has leading slash
|
||||||
|
endif()
|
Binary file not shown.
@ -0,0 +1,62 @@
|
|||||||
|
# Install script for directory: /home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container
|
||||||
|
|
||||||
|
# Set the install prefix
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
|
endif()
|
||||||
|
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||||
|
|
||||||
|
# Set the install configuration name.
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
if(BUILD_TYPE)
|
||||||
|
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||||
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_CONFIG_NAME "Debug")
|
||||||
|
endif()
|
||||||
|
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Set the component getting installed.
|
||||||
|
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
if(COMPONENT)
|
||||||
|
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||||
|
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_COMPONENT)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Install shared libraries without execute permission?
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
set(CMAKE_INSTALL_SO_NO_EXE "0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Is this installation the result of a crosscompile?
|
||||||
|
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Set path to fallback-tool for dependency-resolution.
|
||||||
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||||
|
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_INSTALL_COMPONENT)
|
||||||
|
if(CMAKE_INSTALL_COMPONENT MATCHES "^[a-zA-Z0-9_.+-]+$")
|
||||||
|
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
||||||
|
else()
|
||||||
|
string(MD5 CMAKE_INST_COMP_HASH "${CMAKE_INSTALL_COMPONENT}")
|
||||||
|
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INST_COMP_HASH}.txt")
|
||||||
|
unset(CMAKE_INST_COMP_HASH)
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||||
|
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
||||||
|
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
||||||
|
file(WRITE "/home/phillip/Projects/clay/examples/textui-sidebar-scrolling-container/${CMAKE_INSTALL_MANIFEST}"
|
||||||
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
||||||
|
endif()
|
288
examples/textui-sidebar-scrolling-container/main.c
Normal file
288
examples/textui-sidebar-scrolling-container/main.c
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1,9 @@
|
|||||||
|
#include "../../clay.h"
|
||||||
|
|
||||||
|
// NOTE: This file only exists to make sure that clay works when included in multiple translation units.
|
||||||
|
|
||||||
|
void SatisfyCompiler() {
|
||||||
|
CLAY(CLAY_ID("SatisfyCompiler"), CLAY_LAYOUT({})) {
|
||||||
|
CLAY_TEXT(CLAY_STRING("Test"), CLAY_TEXT_CONFIG({ .fontId = 0, .fontSize = 24 }));
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
129
renderers/textui/clay_renderer_textui.c
Normal file
129
renderers/textui/clay_renderer_textui.c
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
//#include <stdio.h>
|
||||||
|
#include <curses.h>
|
||||||
|
#define CLAY_IMPLEMENTATION
|
||||||
|
#include "../../clay.h"
|
||||||
|
|
||||||
|
#define HPIXELS_PER_CHAR 5 //these are used to convert between Clay pixel space and terminal character locations
|
||||||
|
#define VPIXELS_PER_CHAR 8
|
||||||
|
|
||||||
|
void Clay_textui_Render(WINDOW * win, Clay_RenderCommandArray renderCommands);
|
||||||
|
|
||||||
|
void Clay_textui_Render(WINDOW * win, Clay_RenderCommandArray renderCommands){
|
||||||
|
short color_pair = 1; //increment on use, 0 is reserved
|
||||||
|
short color = 10; //get passed reserved colors
|
||||||
|
//maybe keep a list of Clay colors and only init a new color if required.
|
||||||
|
//clear the screen/window
|
||||||
|
clear();//sets cursor to 0,0
|
||||||
|
for(int i = 0; i < renderCommands.length; i++){
|
||||||
|
//handle every command
|
||||||
|
switch (renderCommands.internalArray[i].commandType){
|
||||||
|
case CLAY_RENDER_COMMAND_TYPE_NONE:
|
||||||
|
continue;
|
||||||
|
case CLAY_RENDER_COMMAND_TYPE_RECTANGLE:
|
||||||
|
Clay_RectangleElementConfig *rectangle_config = renderCommands.internalArray[i].config.rectangleElementConfig;
|
||||||
|
init_color(color, rectangle_config->color.r, rectangle_config->color.g, rectangle_config->color.b);
|
||||||
|
init_pair(color_pair, color, color);
|
||||||
|
attr_on(color_set(color_pair,0),0);
|
||||||
|
for(int j = 0; j < renderCommands.internalArray[i].boundingBox.height/VPIXELS_PER_CHAR; j++){
|
||||||
|
mvhline(renderCommands.internalArray[i].boundingBox.y/VPIXELS_PER_CHAR + j, renderCommands.internalArray[i].boundingBox.x/HPIXELS_PER_CHAR, '#', renderCommands.internalArray[i].boundingBox.width/HPIXELS_PER_CHAR);
|
||||||
|
}
|
||||||
|
attr_off(color_set(color_pair,0),0);
|
||||||
|
color_pair++;
|
||||||
|
color++;
|
||||||
|
//TODO render radius corners
|
||||||
|
break;
|
||||||
|
case CLAY_RENDER_COMMAND_TYPE_BORDER:
|
||||||
|
Clay_BorderElementConfig *border_config = renderCommands.internalArray[i].config.borderElementConfig;
|
||||||
|
//just get a border on there for now
|
||||||
|
if(border_config->top.width > 0){
|
||||||
|
init_color(color, border_config->top.color.r, border_config->top.color.g, border_config->top.color.b);
|
||||||
|
init_pair(color_pair, color, COLOR_CYAN);//TODO get color at target location and init pair with that background
|
||||||
|
attr_on(color_set(color_pair,0),0);
|
||||||
|
mvhline(renderCommands.internalArray[i].boundingBox.y/VPIXELS_PER_CHAR, renderCommands.internalArray[i].boundingBox.x/HPIXELS_PER_CHAR + 1, '-', renderCommands.internalArray[i].boundingBox.width/HPIXELS_PER_CHAR - 2);
|
||||||
|
attr_off(color_set(color_pair,0),0);
|
||||||
|
color_pair++; //can we just check of the color requested is already there?
|
||||||
|
color++;
|
||||||
|
}
|
||||||
|
if(border_config->bottom.width > 0){
|
||||||
|
init_color(color, border_config->bottom.color.r, border_config->bottom.color.g, border_config->bottom.color.b);
|
||||||
|
init_pair(color_pair, color, COLOR_CYAN);//TODO get color at target location and init pair with that background
|
||||||
|
attr_on(color_set(color_pair,0),0);
|
||||||
|
mvhline(renderCommands.internalArray[i].boundingBox.y/VPIXELS_PER_CHAR + renderCommands.internalArray[i].boundingBox.height/VPIXELS_PER_CHAR, renderCommands.internalArray[i].boundingBox.x/HPIXELS_PER_CHAR + 1, '-', renderCommands.internalArray[i].boundingBox.width/HPIXELS_PER_CHAR - 2);
|
||||||
|
attr_off(color_set(color_pair,0),0);
|
||||||
|
color_pair++;
|
||||||
|
color++;
|
||||||
|
}
|
||||||
|
if(border_config->left.width > 0){
|
||||||
|
init_color(color, border_config->left.color.r, border_config->left.color.g, border_config->left.color.b);
|
||||||
|
init_pair(color_pair, color, COLOR_CYAN);//TODO get color at target location and init pair with that background
|
||||||
|
attr_on(color_set(color_pair,0),0);
|
||||||
|
mvvline(renderCommands.internalArray[i].boundingBox.y/VPIXELS_PER_CHAR + 1, renderCommands.internalArray[i].boundingBox.x/HPIXELS_PER_CHAR, '|', renderCommands.internalArray[i].boundingBox.height/VPIXELS_PER_CHAR - 1);
|
||||||
|
attr_off(color_set(color_pair,0),0);
|
||||||
|
color_pair++;
|
||||||
|
color++;
|
||||||
|
}
|
||||||
|
if(border_config->right.width > 0){
|
||||||
|
init_color(color, border_config->right.color.r, border_config->right.color.g, border_config->right.color.b);
|
||||||
|
init_pair(color_pair, color, COLOR_CYAN);//TODO get color at target location and init pair with that background
|
||||||
|
attr_on(color_set(color_pair,0),0);
|
||||||
|
mvvline(renderCommands.internalArray[i].boundingBox.y/VPIXELS_PER_CHAR + 1, renderCommands.internalArray[i].boundingBox.x/HPIXELS_PER_CHAR + renderCommands.internalArray[i].boundingBox.width/HPIXELS_PER_CHAR - 1, '|', renderCommands.internalArray[i].boundingBox.height/VPIXELS_PER_CHAR - 1);
|
||||||
|
attr_off(color_set(color_pair,0),0);
|
||||||
|
color_pair++;
|
||||||
|
color++;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case CLAY_RENDER_COMMAND_TYPE_TEXT:
|
||||||
|
Clay_TextElementConfig *text_config = renderCommands.internalArray[i].config.textElementConfig;
|
||||||
|
attr_on(color_set(0,0),0);
|
||||||
|
int x = renderCommands.internalArray[i].boundingBox.x/HPIXELS_PER_CHAR;
|
||||||
|
int y = renderCommands.internalArray[i].boundingBox.y/VPIXELS_PER_CHAR; //text is referenced from bottom corner?
|
||||||
|
int w = renderCommands.internalArray[i].boundingBox.width/HPIXELS_PER_CHAR;
|
||||||
|
int h = renderCommands.internalArray[i].boundingBox.height/VPIXELS_PER_CHAR;
|
||||||
|
int line = 0;
|
||||||
|
int column = 0;
|
||||||
|
for (int k = 0; k < renderCommands.internalArray[i].text.length; k++) {
|
||||||
|
if (column >= w) {
|
||||||
|
column = 0;
|
||||||
|
line += 1;
|
||||||
|
}
|
||||||
|
mvaddch(y + line, x + column, renderCommands.internalArray[i].text.chars[k]);
|
||||||
|
column += 1;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case CLAY_RENDER_COMMAND_TYPE_IMAGE:
|
||||||
|
case CLAY_RENDER_COMMAND_TYPE_SCISSOR_START:
|
||||||
|
case CLAY_RENDER_COMMAND_TYPE_SCISSOR_END:
|
||||||
|
case CLAY_RENDER_COMMAND_TYPE_CUSTOM:
|
||||||
|
default: continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
attr_on(color_set(0,0),0);
|
||||||
|
mvwprintw(win, 0, 0, "Number of color pairs used: %i", color_pair);
|
||||||
|
refresh();//update the screen/window
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//written by EmmanuelMess: https://github.com/nicbarker/clay/pull/91/commits/7ce74ba46c01f32e4517032e9da76bf54ecf7a43
|
||||||
|
static inline Clay_Dimensions Textui_MeasureText(Clay_String *text, Clay_TextElementConfig *config) {
|
||||||
|
Clay_Dimensions textSize = { 0 };
|
||||||
|
float maxTextWidth = 0.0f;
|
||||||
|
float lineTextWidth = 0;
|
||||||
|
float textHeight = 1;
|
||||||
|
|
||||||
|
for (int i = 0; i < text->length; ++i)
|
||||||
|
{
|
||||||
|
if (text->chars[i] == '\n') {
|
||||||
|
maxTextWidth = maxTextWidth > lineTextWidth ? maxTextWidth : lineTextWidth;
|
||||||
|
lineTextWidth = 0;
|
||||||
|
textHeight++;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
lineTextWidth++;
|
||||||
|
}
|
||||||
|
maxTextWidth = maxTextWidth > lineTextWidth ? maxTextWidth : lineTextWidth;
|
||||||
|
|
||||||
|
textSize.width = maxTextWidth*HPIXELS_PER_CHAR;
|
||||||
|
textSize.height = textHeight*VPIXELS_PER_CHAR;
|
||||||
|
|
||||||
|
return textSize;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user