This commit is contained in:
max 2025-02-24 12:11:30 +01:00
parent d49e725846
commit c3f73aa37a
12 changed files with 642 additions and 3 deletions

1
.gitignore vendored
View File

@ -58,6 +58,7 @@ CMakeFiles
CMakeScripts
cmake_install.cmake
CTestTestfile.cmake
.cmake/
# Make
Makefile

BIN
.ninja_deps Normal file

Binary file not shown.

6
.ninja_log Normal file
View File

@ -0,0 +1,6 @@
# ninja log v6
1 27 1737846897505350770 build.ninja f8d5b049c8d8bd7e
1 17 1737846897513350739 src/runtime/CMakeFiles/runtime.dir/system/unix/crt.S.o 3083999e5366e86e
1 20 1737846897513350739 src/runtime/CMakeFiles/runtime.dir/runtime.c.o 2937d4c8e8657e5b
0 21 1737846897512350742 src/based/CMakeFiles/based.dir/base.c.o 73e61678895bba4a
0 23 1737846897512350742 src/based/CMakeFiles/based.dir/system/bootstrap.c.o 2fad299427bafb0f

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.30)
project("Based" LANGUAGES C ASM)
@ -24,8 +24,7 @@ set(CMAKE_BUILD_TYPE Debug)
if(CMAKE_C_COMPILER_ID STREQUAL "GNU") # GNUCC
# Add linker options.
add_link_options(-nostdlib -nodefaultlibs -nostdinc -lgcc) # -z noexecstack
add_compile_options(
-Wall -Wextra -Wshadow -Wfloat-equal -Wpointer-arith -fPIC -fno-builtin
add_compile_options(-Wall -Wextra -Werror -Wshadow -Wfloat-equal -Wpointer-arith -Wpedantic -pedantic-errors -fPIC -fno-builtin
"$<$<CONFIG:RELEASE>:-s;-O3;-DNDEBUG>"
"$<$<CONFIG:DEBUG>:-O0;-g>"
"$<$<CONFIG:RELWITHDEBINFO>:-O2;-g;-DNDEBUG>")

0
LICENSE Normal file → Executable file
View File

View File

@ -0,0 +1,3 @@
Start testing: Jan 26 00:13 CET
----------------------------------------------------------
End testing: Jan 26 00:13 CET

630
build.ninja Normal file
View File

@ -0,0 +1,630 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Ninja" Generator, CMake Version 3.30
# This file contains all the build statements describing the
# compilation DAG.
# =============================================================================
# Write statements declared in CMakeLists.txt:
#
# Which is the root file.
# =============================================================================
# =============================================================================
# Project: Based
# Configurations: Debug
# =============================================================================
#############################################
# Minimal version of Ninja required by this file
ninja_required_version = 1.5
#############################################
# Set configuration variable for custom commands.
CONFIGURATION = Debug
# =============================================================================
# Include auxiliary files.
#############################################
# Include rules file.
include CMakeFiles/rules.ninja
# =============================================================================
#############################################
# Logical path to working directory; prefix for absolute paths.
cmake_ninja_workdir = /home/max/Git/based/
#############################################
# Utility command for edit_cache
build CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build edit_cache: phony CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build rebuild_cache: phony CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/CMakeLists.txt
# =============================================================================
#############################################
# Utility command for edit_cache
build src/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build src/edit_cache: phony src/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build src/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build src/rebuild_cache: phony src/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/src/CMakeLists.txt
# =============================================================================
# =============================================================================
# Object build statements for SHARED_LIBRARY target based
#############################################
# Order-only phony target for based
build cmake_object_order_depends_target_based: phony || .
build src/based/CMakeFiles/based.dir/base.c.o: C_COMPILER__based_unscanned_Debug /home/max/Git/based/src/based/base.c || cmake_object_order_depends_target_based
DEFINES = -Dbased_EXPORTS
DEP_FILE = src/based/CMakeFiles/based.dir/base.c.o.d
FLAGS = -g -fPIC -fdiagnostics-color=always -Wpedantic -pedantic-errors -Werror -Wall -Wextra -Wshadow -Wfloat-equal -Wpointer-arith -fPIC -fno-builtin -O0 -g
INCLUDES = -I/home/max/Git/based/include -I/home/max/Git/based/src/based/include -I/home/max/Git/based/src
OBJECT_DIR = src/based/CMakeFiles/based.dir
OBJECT_FILE_DIR = src/based/CMakeFiles/based.dir
build src/based/CMakeFiles/based.dir/system/bootstrap.c.o: C_COMPILER__based_unscanned_Debug /home/max/Git/based/src/based/system/bootstrap.c || cmake_object_order_depends_target_based
DEFINES = -Dbased_EXPORTS
DEP_FILE = src/based/CMakeFiles/based.dir/system/bootstrap.c.o.d
FLAGS = -g -fPIC -fdiagnostics-color=always -Wpedantic -pedantic-errors -Werror -Wall -Wextra -Wshadow -Wfloat-equal -Wpointer-arith -fPIC -fno-builtin -O0 -g
INCLUDES = -I/home/max/Git/based/include -I/home/max/Git/based/src/based/include -I/home/max/Git/based/src
OBJECT_DIR = src/based/CMakeFiles/based.dir
OBJECT_FILE_DIR = src/based/CMakeFiles/based.dir/system
# =============================================================================
# Link build statements for SHARED_LIBRARY target based
#############################################
# Link the shared library build/debug/bin/libbased.so
build build/debug/bin/libbased.so: C_SHARED_LIBRARY_LINKER__based_Debug src/based/CMakeFiles/based.dir/base.c.o src/based/CMakeFiles/based.dir/system/bootstrap.c.o
LANGUAGE_COMPILE_FLAGS = -g
LINK_FLAGS = -nostdlib -nodefaultlibs -nostdinc -lgcc
OBJECT_DIR = src/based/CMakeFiles/based.dir
POST_BUILD = :
PRE_LINK = :
SONAME = libbased.so
SONAME_FLAG = -Wl,-soname,
TARGET_FILE = build/debug/bin/libbased.so
TARGET_PDB = based.so.dbg
#############################################
# Utility command for edit_cache
build src/based/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/based && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build src/based/edit_cache: phony src/based/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build src/based/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/based && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build src/based/rebuild_cache: phony src/based/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/src/based/CMakeLists.txt
# =============================================================================
#############################################
# Utility command for edit_cache
build src/based/system/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/based/system && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build src/based/system/edit_cache: phony src/based/system/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build src/based/system/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/based/system && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build src/based/system/rebuild_cache: phony src/based/system/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/src/based/system/CMakeLists.txt
# =============================================================================
#############################################
# Utility command for edit_cache
build src/based/system/unix/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/based/system/unix && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build src/based/system/unix/edit_cache: phony src/based/system/unix/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build src/based/system/unix/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/based/system/unix && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build src/based/system/unix/rebuild_cache: phony src/based/system/unix/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/src/CMakeLists.txt
# =============================================================================
# =============================================================================
# Object build statements for STATIC_LIBRARY target runtime
#############################################
# Order-only phony target for runtime
build cmake_object_order_depends_target_runtime: phony || cmake_object_order_depends_target_based
build src/runtime/CMakeFiles/runtime.dir/runtime.c.o: C_COMPILER__runtime_unscanned_Debug /home/max/Git/based/src/runtime/runtime.c || cmake_object_order_depends_target_runtime
DEP_FILE = src/runtime/CMakeFiles/runtime.dir/runtime.c.o.d
FLAGS = -g -fdiagnostics-color=always -Wpedantic -pedantic-errors -Werror -Wall -Wextra -Wshadow -Wfloat-equal -Wpointer-arith -fPIC -fno-builtin -O0 -g
INCLUDES = -I/home/max/Git/based/include -I/home/max/Git/based/src -I/home/max/Git/based/src/based/include
OBJECT_DIR = src/runtime/CMakeFiles/runtime.dir
OBJECT_FILE_DIR = src/runtime/CMakeFiles/runtime.dir
build src/runtime/CMakeFiles/runtime.dir/system/unix/unixrt.c.o: C_COMPILER__runtime_unscanned_Debug /home/max/Git/based/src/runtime/system/unix/unixrt.c || cmake_object_order_depends_target_runtime
DEP_FILE = src/runtime/CMakeFiles/runtime.dir/system/unix/unixrt.c.o.d
FLAGS = -g -fdiagnostics-color=always -Wpedantic -pedantic-errors -Werror -Wall -Wextra -Wshadow -Wfloat-equal -Wpointer-arith -fPIC -fno-builtin -O0 -g
INCLUDES = -I/home/max/Git/based/include -I/home/max/Git/based/src -I/home/max/Git/based/src/based/include
OBJECT_DIR = src/runtime/CMakeFiles/runtime.dir
OBJECT_FILE_DIR = src/runtime/CMakeFiles/runtime.dir/system/unix
build src/runtime/CMakeFiles/runtime.dir/system/unix/crt.S.o: ASM_COMPILER__runtime_unscanned_Debug /home/max/Git/based/src/runtime/system/unix/crt.S || cmake_object_order_depends_target_runtime
DEP_FILE = src/runtime/CMakeFiles/runtime.dir/system/unix/crt.S.o.d
FLAGS = -g -Wpedantic -pedantic-errors -Werror -Wall -Wextra -Wshadow -Wfloat-equal -Wpointer-arith -fPIC -fno-builtin -O0 -g
INCLUDES = -I/home/max/Git/based/include -I/home/max/Git/based/src -I/home/max/Git/based/src/based/include
OBJECT_DIR = src/runtime/CMakeFiles/runtime.dir
OBJECT_FILE_DIR = src/runtime/CMakeFiles/runtime.dir/system/unix
# =============================================================================
# Link build statements for STATIC_LIBRARY target runtime
#############################################
# Link the static library build/debug/lib/libruntime.a
build build/debug/lib/libruntime.a: C_STATIC_LIBRARY_LINKER__runtime_Debug src/runtime/CMakeFiles/runtime.dir/runtime.c.o src/runtime/CMakeFiles/runtime.dir/system/unix/unixrt.c.o src/runtime/CMakeFiles/runtime.dir/system/unix/crt.S.o || build/debug/bin/libbased.so
LANGUAGE_COMPILE_FLAGS = -g
OBJECT_DIR = src/runtime/CMakeFiles/runtime.dir
POST_BUILD = :
PRE_LINK = :
TARGET_FILE = build/debug/lib/libruntime.a
TARGET_PDB = runtime.a.dbg
#############################################
# Utility command for edit_cache
build src/runtime/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/runtime && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build src/runtime/edit_cache: phony src/runtime/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build src/runtime/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/runtime && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build src/runtime/rebuild_cache: phony src/runtime/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/src/runtime/CMakeLists.txt
# =============================================================================
#############################################
# Utility command for edit_cache
build src/runtime/system/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/runtime/system && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build src/runtime/system/edit_cache: phony src/runtime/system/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build src/runtime/system/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/runtime/system && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build src/runtime/system/rebuild_cache: phony src/runtime/system/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/src/runtime/system/CMakeLists.txt
# =============================================================================
#############################################
# Utility command for edit_cache
build src/runtime/system/unix/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/runtime/system/unix && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build src/runtime/system/unix/edit_cache: phony src/runtime/system/unix/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build src/runtime/system/unix/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/runtime/system/unix && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build src/runtime/system/unix/rebuild_cache: phony src/runtime/system/unix/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/src/CMakeLists.txt
# =============================================================================
# =============================================================================
# Object build statements for EXECUTABLE target bcli
#############################################
# Order-only phony target for bcli
build cmake_object_order_depends_target_bcli: phony || cmake_object_order_depends_target_based cmake_object_order_depends_target_runtime
build src/cli/CMakeFiles/bcli.dir/main.c.o: C_COMPILER__bcli_unscanned_Debug /home/max/Git/based/src/cli/main.c || cmake_object_order_depends_target_bcli
DEP_FILE = src/cli/CMakeFiles/bcli.dir/main.c.o.d
FLAGS = -g -fdiagnostics-color=always -Wpedantic -pedantic-errors -Werror -Wall -Wextra -Wshadow -Wfloat-equal -Wpointer-arith -fPIC -fno-builtin -O0 -g
INCLUDES = -I/home/max/Git/based/include -I/home/max/Git/based/src/based/include
OBJECT_DIR = src/cli/CMakeFiles/bcli.dir
OBJECT_FILE_DIR = src/cli/CMakeFiles/bcli.dir
# =============================================================================
# Link build statements for EXECUTABLE target bcli
#############################################
# Link the executable build/debug/bin/bcli
build build/debug/bin/bcli: C_EXECUTABLE_LINKER__bcli_Debug src/cli/CMakeFiles/bcli.dir/main.c.o | build/debug/lib/libruntime.a build/debug/bin/libbased.so || build/debug/bin/libbased.so build/debug/lib/libruntime.a
FLAGS = -g
LINK_FLAGS = -nostdlib -nodefaultlibs -nostdinc -lgcc
LINK_LIBRARIES = -Wl,-rpath,/home/max/Git/based/build/debug/bin build/debug/lib/libruntime.a build/debug/bin/libbased.so
OBJECT_DIR = src/cli/CMakeFiles/bcli.dir
POST_BUILD = :
PRE_LINK = :
TARGET_FILE = build/debug/bin/bcli
TARGET_PDB = bcli.dbg
#############################################
# Utility command for edit_cache
build src/cli/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/cli && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build src/cli/edit_cache: phony src/cli/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build src/cli/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/src/cli && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build src/cli/rebuild_cache: phony src/cli/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/CMakeLists.txt
# =============================================================================
#############################################
# Utility command for edit_cache
build include/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/include && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build include/edit_cache: phony include/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build include/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/include && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build include/rebuild_cache: phony include/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/include/CMakeLists.txt
# =============================================================================
#############################################
# Utility command for edit_cache
build include/based/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/include/based && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build include/based/edit_cache: phony include/based/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build include/based/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/include/based && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build include/based/rebuild_cache: phony include/based/CMakeFiles/rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# /home/max/Git/based/include/based/CMakeLists.txt
# =============================================================================
#############################################
# Utility command for edit_cache
build include/based/env/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/include/based/env && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
build include/based/env/edit_cache: phony include/based/env/CMakeFiles/edit_cache.util
#############################################
# Utility command for rebuild_cache
build include/based/env/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cd /home/max/Git/based/include/based/env && /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/max/Git/based -B/home/max/Git/based
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build include/based/env/rebuild_cache: phony include/based/env/CMakeFiles/rebuild_cache.util
# =============================================================================
# Target aliases.
build based: phony build/debug/bin/libbased.so
build bcli: phony build/debug/bin/bcli
build libbased.so: phony build/debug/bin/libbased.so
build libruntime.a: phony build/debug/lib/libruntime.a
build runtime: phony build/debug/lib/libruntime.a
# =============================================================================
# Folder targets.
# =============================================================================
#############################################
# Folder: /home/max/Git/based
build all: phony src/all include/all
# =============================================================================
#############################################
# Folder: /home/max/Git/based/include
build include/all: phony include/based/all
# =============================================================================
#############################################
# Folder: /home/max/Git/based/include/based
build include/based/all: phony include/based/env/all
# =============================================================================
#############################################
# Folder: /home/max/Git/based/include/based/env
build include/based/env/all: phony
# =============================================================================
#############################################
# Folder: /home/max/Git/based/src
build src/all: phony src/based/all src/runtime/all src/cli/all
# =============================================================================
#############################################
# Folder: /home/max/Git/based/src/based
build src/based/all: phony build/debug/bin/libbased.so src/based/system/all
# =============================================================================
#############################################
# Folder: /home/max/Git/based/src/based/system
build src/based/system/all: phony src/based/system/unix/all
# =============================================================================
#############################################
# Folder: /home/max/Git/based/src/based/system/unix
build src/based/system/unix/all: phony
# =============================================================================
#############################################
# Folder: /home/max/Git/based/src/cli
build src/cli/all: phony build/debug/bin/bcli
# =============================================================================
#############################################
# Folder: /home/max/Git/based/src/runtime
build src/runtime/all: phony build/debug/lib/libruntime.a src/runtime/system/all
# =============================================================================
#############################################
# Folder: /home/max/Git/based/src/runtime/system
build src/runtime/system/all: phony src/runtime/system/unix/all
# =============================================================================
#############################################
# Folder: /home/max/Git/based/src/runtime/system/unix
build src/runtime/system/unix/all: phony
# =============================================================================
# Built-in targets
#############################################
# Re-run CMake if any of its inputs changed.
build build.ninja: RERUN_CMAKE | /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeASMInformation.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeCInformation.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeCommonLanguageInclude.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeGenericSystem.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeInitializeConfigs.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeLanguageInformation.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeSystemSpecificInformation.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeSystemSpecificInitialize.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Compiler/CMakeCommonCompilerMacros.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Compiler/GNU-ASM.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Compiler/GNU-C.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Compiler/GNU.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/Linux-GNU-C.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/Linux-GNU.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/Linux-Initialize.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/Linux.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/UnixPaths.cmake CMakeCache.txt CMakeFiles/3.30.5/CMakeASMCompiler.cmake CMakeFiles/3.30.5/CMakeCCompiler.cmake CMakeFiles/3.30.5/CMakeSystem.cmake CMakeLists.txt include/CMakeLists.txt include/based/CMakeLists.txt include/based/env/CMakeLists.txt src/CMakeLists.txt src/based/CMakeLists.txt src/based/system/CMakeLists.txt src/based/system/unix/CMakeLists.txt src/cli/CMakeLists.txt src/runtime/CMakeLists.txt src/runtime/system/CMakeLists.txt src/runtime/system/unix/CMakeLists.txt
pool = console
#############################################
# A missing CMake input file is not an error.
build /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeASMInformation.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeCInformation.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeCommonLanguageInclude.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeGenericSystem.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeInitializeConfigs.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeLanguageInformation.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeSystemSpecificInformation.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/CMakeSystemSpecificInitialize.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Compiler/CMakeCommonCompilerMacros.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Compiler/GNU-ASM.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Compiler/GNU-C.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Compiler/GNU.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/Linux-GNU-C.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/Linux-GNU.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/Linux-Initialize.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/Linux.cmake /home/max/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.30/Modules/Platform/UnixPaths.cmake CMakeCache.txt CMakeFiles/3.30.5/CMakeASMCompiler.cmake CMakeFiles/3.30.5/CMakeCCompiler.cmake CMakeFiles/3.30.5/CMakeSystem.cmake CMakeLists.txt include/CMakeLists.txt include/based/CMakeLists.txt include/based/env/CMakeLists.txt src/CMakeLists.txt src/based/CMakeLists.txt src/based/system/CMakeLists.txt src/based/system/unix/CMakeLists.txt src/cli/CMakeLists.txt src/runtime/CMakeLists.txt src/runtime/system/CMakeLists.txt src/runtime/system/unix/CMakeLists.txt: phony
#############################################
# Clean all the built files.
build clean: CLEAN
#############################################
# Print all primary targets available.
build help: HELP
#############################################
# Make the all target the default.
default all

0
examples/CMakeLists.txt Normal file → Executable file
View File

0
examples/HelloWorld/CMakeLists.txt Normal file → Executable file
View File

0
examples/HelloWorld/main.c Normal file → Executable file
View File

0
include/CMakeLists.txt Normal file → Executable file
View File

0
include/based/CMakeLists.txt Normal file → Executable file
View File