Skip to content

Commit 187c9e5

Browse files
committed
new file: ../CMakeLists.txt
new file: ../include/a.h new file: ../src/a.c new file: ../src/main.c
1 parent 182ad85 commit 187c9e5

38 files changed

+459
-0
lines changed

sqrt/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PROJECT(test_math)
2+
INCLUDE_DIRECTORIES(include)
3+
AUX_SOURCE_DIRECTORY(src DIR_SRCS)
4+
ADD_EXECUTABLE(../bin ${DIR_SRCS})

sqrt/bin.dir/DependInfo.cmake

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
# Consider dependencies only in project.
3+
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
4+
5+
# The set of languages for which implicit dependencies are needed:
6+
set(CMAKE_DEPENDS_LANGUAGES
7+
)
8+
9+
# The set of dependency files which are needed:
10+
set(CMAKE_DEPENDS_DEPENDENCY_FILES
11+
"C:/Users/Administrator/PL/sqrt/src/a.c" "bin.dir/src/a.obj" "gcc" "bin.dir/src/a.obj.d"
12+
"C:/Users/Administrator/PL/sqrt/src/main.c" "bin.dir/src/main.obj" "gcc" "bin.dir/src/main.obj.d"
13+
)
14+
15+
# Targets to which this target links.
16+
set(CMAKE_TARGET_LINKED_INFO_FILES
17+
)
18+
19+
# Fortran module output directory.
20+
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

sqrt/bin.dir/build.make

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# CMAKE generated file: DO NOT EDIT!
2+
# Generated by "MinGW Makefiles" Generator, CMake Version 3.21
3+
4+
# Delete rule output on recipe failure.
5+
.DELETE_ON_ERROR:
6+
7+
#=============================================================================
8+
# Special targets provided by cmake.
9+
10+
# Disable implicit rules so canonical targets will work.
11+
.SUFFIXES:
12+
13+
# Disable VCS-based implicit rules.
14+
% : %,v
15+
16+
# Disable VCS-based implicit rules.
17+
% : RCS/%
18+
19+
# Disable VCS-based implicit rules.
20+
% : RCS/%,v
21+
22+
# Disable VCS-based implicit rules.
23+
% : SCCS/s.%
24+
25+
# Disable VCS-based implicit rules.
26+
% : s.%
27+
28+
.SUFFIXES: .hpux_make_needs_suffix_list
29+
30+
# Command-line flag to silence nested $(MAKE).
31+
$(VERBOSE)MAKESILENT = -s
32+
33+
#Suppress display of executed commands.
34+
$(VERBOSE).SILENT:
35+
36+
# A target that is always out of date.
37+
cmake_force:
38+
.PHONY : cmake_force
39+
40+
#=============================================================================
41+
# Set environment variables for the build.
42+
43+
SHELL = cmd.exe
44+
45+
# The CMake executable.
46+
CMAKE_COMMAND = "C:\Program Files\CMake\bin\cmake.exe"
47+
48+
# The command to remove a file.
49+
RM = "C:\Program Files\CMake\bin\cmake.exe" -E rm -f
50+
51+
# Escaping for special characters.
52+
EQUALS = =
53+
54+
# The top-level source directory on which CMake was run.
55+
CMAKE_SOURCE_DIR = C:\Users\Administrator\PL\sqrt
56+
57+
# The top-level build directory on which CMake was run.
58+
CMAKE_BINARY_DIR = C:\Users\Administrator\PL\sqrt
59+
60+
# Include any dependencies generated for this target.
61+
include CMakeFiles/../bin.dir/depend.make
62+
# Include any dependencies generated by the compiler for this target.
63+
include CMakeFiles/../bin.dir/compiler_depend.make
64+
65+
# Include the progress variables for this target.
66+
include CMakeFiles/../bin.dir/progress.make
67+
68+
# Include the compile flags for this target's objects.
69+
include CMakeFiles/../bin.dir/flags.make
70+
71+
CMakeFiles/../bin.dir/src/a.obj: CMakeFiles/../bin.dir/flags.make
72+
CMakeFiles/../bin.dir/src/a.obj: CMakeFiles/../bin.dir/includes_C.rsp
73+
CMakeFiles/../bin.dir/src/a.obj: src/a.c
74+
CMakeFiles/../bin.dir/src/a.obj: CMakeFiles/../bin.dir/compiler_depend.ts
75+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Administrator\PL\sqrt\CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/../bin.dir/src/a.obj"
76+
C:\ProgramData\chocolatey\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/../bin.dir/src/a.obj -MF CMakeFiles\..\bin.dir\src\a.obj.d -o CMakeFiles\..\bin.dir\src\a.obj -c C:\Users\Administrator\PL\sqrt\src\a.c
77+
78+
CMakeFiles/../bin.dir/src/a.i: cmake_force
79+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/../bin.dir/src/a.i"
80+
C:\ProgramData\chocolatey\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Administrator\PL\sqrt\src\a.c > CMakeFiles\..\bin.dir\src\a.i
81+
82+
CMakeFiles/../bin.dir/src/a.s: cmake_force
83+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/../bin.dir/src/a.s"
84+
C:\ProgramData\chocolatey\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Administrator\PL\sqrt\src\a.c -o CMakeFiles\..\bin.dir\src\a.s
85+
86+
CMakeFiles/../bin.dir/src/main.obj: CMakeFiles/../bin.dir/flags.make
87+
CMakeFiles/../bin.dir/src/main.obj: CMakeFiles/../bin.dir/includes_C.rsp
88+
CMakeFiles/../bin.dir/src/main.obj: src/main.c
89+
CMakeFiles/../bin.dir/src/main.obj: CMakeFiles/../bin.dir/compiler_depend.ts
90+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Administrator\PL\sqrt\CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/../bin.dir/src/main.obj"
91+
C:\ProgramData\chocolatey\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/../bin.dir/src/main.obj -MF CMakeFiles\..\bin.dir\src\main.obj.d -o CMakeFiles\..\bin.dir\src\main.obj -c C:\Users\Administrator\PL\sqrt\src\main.c
92+
93+
CMakeFiles/../bin.dir/src/main.i: cmake_force
94+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/../bin.dir/src/main.i"
95+
C:\ProgramData\chocolatey\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Administrator\PL\sqrt\src\main.c > CMakeFiles\..\bin.dir\src\main.i
96+
97+
CMakeFiles/../bin.dir/src/main.s: cmake_force
98+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/../bin.dir/src/main.s"
99+
C:\ProgramData\chocolatey\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Administrator\PL\sqrt\src\main.c -o CMakeFiles\..\bin.dir\src\main.s
100+
101+
# Object files for target ../bin
102+
__/bin_OBJECTS = \
103+
"CMakeFiles/../bin.dir/src/a.obj" \
104+
"CMakeFiles/../bin.dir/src/main.obj"
105+
106+
# External object files for target ../bin
107+
__/bin_EXTERNAL_OBJECTS =
108+
109+
../bin.exe: CMakeFiles/../bin.dir/src/a.obj
110+
../bin.exe: CMakeFiles/../bin.dir/src/main.obj
111+
../bin.exe: CMakeFiles/../bin.dir/build.make
112+
../bin.exe: CMakeFiles/../bin.dir/linklibs.rsp
113+
../bin.exe: CMakeFiles/../bin.dir/objects1.rsp
114+
../bin.exe: CMakeFiles/../bin.dir/link.txt
115+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=C:\Users\Administrator\PL\sqrt\CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable ..\bin.exe"
116+
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles\..\bin.dir\link.txt --verbose=$(VERBOSE)
117+
118+
# Rule to build all files generated by this target.
119+
CMakeFiles/../bin.dir/build: ../bin.exe
120+
.PHONY : CMakeFiles/../bin.dir/build
121+
122+
CMakeFiles/../bin.dir/clean:
123+
$(CMAKE_COMMAND) -P CMakeFiles\..\bin.dir\cmake_clean.cmake
124+
.PHONY : CMakeFiles/../bin.dir/clean
125+
126+
CMakeFiles/../bin.dir/depend:
127+
$(CMAKE_COMMAND) -E cmake_depends "MinGW Makefiles" C:\Users\Administrator\PL\sqrt C:\Users\Administrator\PL\sqrt C:\Users\Administrator\PL\sqrt C:\Users\Administrator\PL\sqrt C:\Users\Administrator\PL\sqrt\bin.dir\DependInfo.cmake --color=$(COLOR)
128+
.PHONY : CMakeFiles/../bin.dir/depend
129+

sqrt/bin.dir/cmake_clean.cmake

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
file(REMOVE_RECURSE
2+
"../bin.exe"
3+
"../bin.exe.manifest"
4+
"../bin.pdb"
5+
"CMakeFiles/../bin.dir/src/a.obj"
6+
"CMakeFiles/../bin.dir/src/a.obj.d"
7+
"CMakeFiles/../bin.dir/src/main.obj"
8+
"CMakeFiles/../bin.dir/src/main.obj.d"
9+
"lib../bin.dll.a"
10+
)
11+
12+
# Per-language clean rules from dependency scanning.
13+
foreach(lang C)
14+
include(CMakeFiles/../bin.dir/cmake_clean_${lang}.cmake OPTIONAL)
15+
endforeach()

sqrt/bin.dir/compiler_depend.make

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Empty compiler generated dependencies file for ../bin.
2+
# This may be replaced when dependencies are built.

sqrt/bin.dir/compiler_depend.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# CMAKE generated file: DO NOT EDIT!
2+
# Timestamp file for compiler generated dependencies management for ../bin.

sqrt/bin.dir/depend.make

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Empty dependencies file for ../bin.
2+
# This may be replaced when dependencies are built.

sqrt/bin.dir/flags.make

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CMAKE generated file: DO NOT EDIT!
2+
# Generated by "MinGW Makefiles" Generator, CMake Version 3.21
3+
4+
# compile C with C:/ProgramData/chocolatey/bin/gcc.exe
5+
C_DEFINES =
6+
7+
C_INCLUDES = @CMakeFiles/../bin.dir/includes_C.rsp
8+
9+
C_FLAGS =
10+

sqrt/bin.dir/includes_C.rsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-IC:/Users/Administrator/PL/sqrt/include

sqrt/bin.dir/link.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"C:\Program Files\CMake\bin\cmake.exe" -E rm -f CMakeFiles\..\bin.dir/objects.a
2+
C:\ProgramData\chocolatey\bin\ar.exe qc CMakeFiles\..\bin.dir/objects.a @CMakeFiles\..\bin.dir\objects1.rsp
3+
C:\ProgramData\chocolatey\bin\gcc.exe -Wl,--whole-archive CMakeFiles\..\bin.dir/objects.a -Wl,--no-whole-archive -o ..\bin.exe -Wl,--out-implib,lib..\bin.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\..\bin.dir\linklibs.rsp

0 commit comments

Comments
 (0)