This commit is contained in:
root
2024-04-24 10:25:44 +08:00
parent 627bf43ee3
commit 248388a322
5271 changed files with 3753425 additions and 803 deletions

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.26
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/dnf_project/dnf_project")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/dnf_project/dnf_project/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1,19 @@
# 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/dnf_project/dnf_project/test/main.cc" "test/CMakeFiles/hook-test.dir/main.cc.o" "gcc" "test/CMakeFiles/hook-test.dir/main.cc.o.d"
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,110 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.26
# 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 = /home/software/cmake-3.26.3-linux-x86_64/bin/cmake
# The command to remove a file.
RM = /home/software/cmake-3.26.3-linux-x86_64/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/dnf_project/dnf_project
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/dnf_project/dnf_project/build
# Include any dependencies generated for this target.
include test/CMakeFiles/hook-test.dir/depend.make
# Include any dependencies generated by the compiler for this target.
include test/CMakeFiles/hook-test.dir/compiler_depend.make
# Include the progress variables for this target.
include test/CMakeFiles/hook-test.dir/progress.make
# Include the compile flags for this target's objects.
include test/CMakeFiles/hook-test.dir/flags.make
test/CMakeFiles/hook-test.dir/main.cc.o: test/CMakeFiles/hook-test.dir/flags.make
test/CMakeFiles/hook-test.dir/main.cc.o: /home/dnf_project/dnf_project/test/main.cc
test/CMakeFiles/hook-test.dir/main.cc.o: test/CMakeFiles/hook-test.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/dnf_project/dnf_project/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object test/CMakeFiles/hook-test.dir/main.cc.o"
cd /home/dnf_project/dnf_project/build/test && /usr/bin/g++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT test/CMakeFiles/hook-test.dir/main.cc.o -MF CMakeFiles/hook-test.dir/main.cc.o.d -o CMakeFiles/hook-test.dir/main.cc.o -c /home/dnf_project/dnf_project/test/main.cc
test/CMakeFiles/hook-test.dir/main.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/hook-test.dir/main.cc.i"
cd /home/dnf_project/dnf_project/build/test && /usr/bin/g++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/dnf_project/dnf_project/test/main.cc > CMakeFiles/hook-test.dir/main.cc.i
test/CMakeFiles/hook-test.dir/main.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/hook-test.dir/main.cc.s"
cd /home/dnf_project/dnf_project/build/test && /usr/bin/g++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/dnf_project/dnf_project/test/main.cc -o CMakeFiles/hook-test.dir/main.cc.s
# Object files for target hook-test
hook__test_OBJECTS = \
"CMakeFiles/hook-test.dir/main.cc.o"
# External object files for target hook-test
hook__test_EXTERNAL_OBJECTS =
test/hook-test: test/CMakeFiles/hook-test.dir/main.cc.o
test/hook-test: test/CMakeFiles/hook-test.dir/build.make
test/hook-test: test/CMakeFiles/hook-test.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/dnf_project/dnf_project/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable hook-test"
cd /home/dnf_project/dnf_project/build/test && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/hook-test.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
test/CMakeFiles/hook-test.dir/build: test/hook-test
.PHONY : test/CMakeFiles/hook-test.dir/build
test/CMakeFiles/hook-test.dir/clean:
cd /home/dnf_project/dnf_project/build/test && $(CMAKE_COMMAND) -P CMakeFiles/hook-test.dir/cmake_clean.cmake
.PHONY : test/CMakeFiles/hook-test.dir/clean
test/CMakeFiles/hook-test.dir/depend:
cd /home/dnf_project/dnf_project/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/dnf_project/dnf_project /home/dnf_project/dnf_project/test /home/dnf_project/dnf_project/build /home/dnf_project/dnf_project/build/test /home/dnf_project/dnf_project/build/test/CMakeFiles/hook-test.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : test/CMakeFiles/hook-test.dir/depend

View File

@@ -0,0 +1,11 @@
file(REMOVE_RECURSE
"CMakeFiles/hook-test.dir/main.cc.o"
"CMakeFiles/hook-test.dir/main.cc.o.d"
"hook-test"
"hook-test.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/hook-test.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,2 @@
# Empty compiler generated dependencies file for hook-test.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for hook-test.

View File

@@ -0,0 +1,2 @@
# Empty dependencies file for hook-test.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.26
# compile CXX with /usr/bin/g++
CXX_DEFINES =
CXX_INCLUDES = -I/home/dnf_project/dnf_project/src
CXX_FLAGS = -O3 -DNDEBUG

View File

@@ -0,0 +1 @@
/usr/bin/g++ -O3 -DNDEBUG -rdynamic "CMakeFiles/hook-test.dir/main.cc.o" -o hook-test -L/home/dnf_project/dnf_project/build/lib -Wl,-rpath,/home/dnf_project/dnf_project/build/lib -lSHARED -lhook

Binary file not shown.

View File

@@ -0,0 +1,73 @@
test/CMakeFiles/hook-test.dir/main.cc.o: \
/home/dnf_project/dnf_project/test/main.cc /usr/include/stdc-predef.h \
/usr/include/c++/4.8.2/iostream \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h \
/usr/include/bits/wordsize.h \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/os_defines.h \
/usr/include/features.h /usr/include/sys/cdefs.h \
/usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/cpu_defines.h \
/usr/include/c++/4.8.2/ostream /usr/include/c++/4.8.2/ios \
/usr/include/c++/4.8.2/iosfwd /usr/include/c++/4.8.2/bits/stringfwd.h \
/usr/include/c++/4.8.2/bits/memoryfwd.h \
/usr/include/c++/4.8.2/bits/postypes.h /usr/include/c++/4.8.2/cwchar \
/usr/include/wchar.h /usr/include/stdio.h \
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdarg.h \
/usr/include/bits/wchar.h \
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stddef.h \
/usr/include/xlocale.h /usr/include/c++/4.8.2/exception \
/usr/include/c++/4.8.2/bits/atomic_lockfree_defines.h \
/usr/include/c++/4.8.2/bits/char_traits.h \
/usr/include/c++/4.8.2/bits/stl_algobase.h \
/usr/include/c++/4.8.2/bits/functexcept.h \
/usr/include/c++/4.8.2/bits/exception_defines.h \
/usr/include/c++/4.8.2/bits/cpp_type_traits.h \
/usr/include/c++/4.8.2/ext/type_traits.h \
/usr/include/c++/4.8.2/ext/numeric_traits.h \
/usr/include/c++/4.8.2/bits/stl_pair.h \
/usr/include/c++/4.8.2/bits/move.h \
/usr/include/c++/4.8.2/bits/concept_check.h \
/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h \
/usr/include/c++/4.8.2/bits/stl_iterator_base_funcs.h \
/usr/include/c++/4.8.2/debug/debug.h \
/usr/include/c++/4.8.2/bits/stl_iterator.h \
/usr/include/c++/4.8.2/bits/localefwd.h \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++locale.h \
/usr/include/c++/4.8.2/clocale /usr/include/locale.h \
/usr/include/bits/locale.h /usr/include/c++/4.8.2/cctype \
/usr/include/ctype.h /usr/include/bits/types.h \
/usr/include/bits/typesizes.h /usr/include/endian.h \
/usr/include/bits/endian.h /usr/include/bits/byteswap.h \
/usr/include/bits/byteswap-16.h /usr/include/c++/4.8.2/bits/ios_base.h \
/usr/include/c++/4.8.2/ext/atomicity.h \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/gthr.h \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/gthr-default.h \
/usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \
/usr/include/bits/sched.h /usr/include/bits/time.h \
/usr/include/bits/timex.h /usr/include/bits/pthreadtypes.h \
/usr/include/bits/setjmp.h \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/atomic_word.h \
/usr/include/c++/4.8.2/bits/locale_classes.h \
/usr/include/c++/4.8.2/string /usr/include/c++/4.8.2/bits/allocator.h \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++allocator.h \
/usr/include/c++/4.8.2/ext/new_allocator.h /usr/include/c++/4.8.2/new \
/usr/include/c++/4.8.2/bits/ostream_insert.h \
/usr/include/c++/4.8.2/bits/cxxabi_forced.h \
/usr/include/c++/4.8.2/bits/stl_function.h \
/usr/include/c++/4.8.2/backward/binders.h \
/usr/include/c++/4.8.2/bits/range_access.h \
/usr/include/c++/4.8.2/bits/basic_string.h \
/usr/include/c++/4.8.2/bits/basic_string.tcc \
/usr/include/c++/4.8.2/bits/locale_classes.tcc \
/usr/include/c++/4.8.2/streambuf \
/usr/include/c++/4.8.2/bits/streambuf.tcc \
/usr/include/c++/4.8.2/bits/basic_ios.h \
/usr/include/c++/4.8.2/bits/locale_facets.h \
/usr/include/c++/4.8.2/cwctype /usr/include/wctype.h \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/ctype_base.h \
/usr/include/c++/4.8.2/bits/streambuf_iterator.h \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/ctype_inline.h \
/usr/include/c++/4.8.2/bits/locale_facets.tcc \
/usr/include/c++/4.8.2/bits/basic_ios.tcc \
/usr/include/c++/4.8.2/bits/ostream.tcc /usr/include/c++/4.8.2/istream \
/usr/include/c++/4.8.2/bits/istream.tcc

View File

@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2

View File

@@ -0,0 +1 @@
2

182
build/test/Makefile Normal file
View File

@@ -0,0 +1,182 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.26
# 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 = /home/software/cmake-3.26.3-linux-x86_64/bin/cmake
# The command to remove a file.
RM = /home/software/cmake-3.26.3-linux-x86_64/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/dnf_project/dnf_project
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/dnf_project/dnf_project/build
#=============================================================================
# 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..."
/home/software/cmake-3.26.3-linux-x86_64/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..."
/home/software/cmake-3.26.3-linux-x86_64/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
cd /home/dnf_project/dnf_project/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/dnf_project/dnf_project/build/CMakeFiles /home/dnf_project/dnf_project/build/test//CMakeFiles/progress.marks
cd /home/dnf_project/dnf_project/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/dnf_project/dnf_project/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /home/dnf_project/dnf_project/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /home/dnf_project/dnf_project/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /home/dnf_project/dnf_project/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /home/dnf_project/dnf_project/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
test/CMakeFiles/hook-test.dir/rule:
cd /home/dnf_project/dnf_project/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/CMakeFiles/hook-test.dir/rule
.PHONY : test/CMakeFiles/hook-test.dir/rule
# Convenience name for target.
hook-test: test/CMakeFiles/hook-test.dir/rule
.PHONY : hook-test
# fast build rule for target.
hook-test/fast:
cd /home/dnf_project/dnf_project/build && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/hook-test.dir/build.make test/CMakeFiles/hook-test.dir/build
.PHONY : hook-test/fast
main.o: main.cc.o
.PHONY : main.o
# target to build an object file
main.cc.o:
cd /home/dnf_project/dnf_project/build && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/hook-test.dir/build.make test/CMakeFiles/hook-test.dir/main.cc.o
.PHONY : main.cc.o
main.i: main.cc.i
.PHONY : main.i
# target to preprocess a source file
main.cc.i:
cd /home/dnf_project/dnf_project/build && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/hook-test.dir/build.make test/CMakeFiles/hook-test.dir/main.cc.i
.PHONY : main.cc.i
main.s: main.cc.s
.PHONY : main.s
# target to generate assembly for a file
main.cc.s:
cd /home/dnf_project/dnf_project/build && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/hook-test.dir/build.make test/CMakeFiles/hook-test.dir/main.cc.s
.PHONY : main.cc.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 "... rebuild_cache"
@echo "... hook-test"
@echo "... main.o"
@echo "... main.i"
@echo "... main.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:
cd /home/dnf_project/dnf_project/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,44 @@
# Install script for directory: /home/dnf_project/dnf_project/test
# 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 "Release")
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 default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()