Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CMakeLists_note_server.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR)

project(note_server LANGUAGES CXX)

# Require C++11
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# Threads needed for <thread> on some systems, and for <pthread.h> on Linux
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_package(Threads REQUIRED)

# Add executable
add_executable(note_server note_server.cc)

# Include directory for httplib.h
target_include_directories(note_server PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})

# Link libraries
target_link_libraries(note_server PRIVATE
Threads::Threads
$<$<PLATFORM_ID:Windows>:ws2_32>
$<$<PLATFORM_ID:Windows>:crypt32>
)
109 changes: 109 additions & 0 deletions build_note_server/CMakeCache.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# This is the CMakeCache file.
# For build in directory: d:/DraftsJ/WinCppDraftsJ/WCD2J/SMJ/cpp-httplib/build_note_server
# It was generated by CMake: D:/ProgrammesJ/CmakeJ/bin/cmake.exe
# 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
########################

//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:UNINITIALIZED=Release

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=D:/DraftsJ/WinCppDraftsJ/WCD2J/SMJ/cpp-httplib/build_note_server/CMakeFiles/pkgRedirects

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=CMAKE_MAKE_PROGRAM-NOTFOUND

//Value Computed by CMake
CMAKE_PROJECT_COMPAT_VERSION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=A C++ header-only HTTP/HTTPS server and client library.

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=https://github.com/yhirose/cpp-httplib

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=httplib

//Value Computed by CMake
CMAKE_PROJECT_SPDX_LICENSE:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=0.37.1

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=0

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=37

//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=1

//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=

//Value Computed by CMake
httplib_BINARY_DIR:STATIC=D:/DraftsJ/WinCppDraftsJ/WCD2J/SMJ/cpp-httplib/build_note_server

//Value Computed by CMake
httplib_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
httplib_SOURCE_DIR:STATIC=D:/DraftsJ/WinCppDraftsJ/WCD2J/SMJ/cpp-httplib


########################
# INTERNAL cache entries
########################

//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=d:/DraftsJ/WinCppDraftsJ/WCD2J/SMJ/cpp-httplib/build_note_server
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=4
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=3
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=D:/ProgrammesJ/CmakeJ/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=D:/ProgrammesJ/CmakeJ/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=D:/ProgrammesJ/CmakeJ/bin/ctest.exe
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=D:/ProgrammesJ/CmakeJ/bin/cmake-gui.exe
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=MinGW 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=D:/DraftsJ/WinCppDraftsJ/WCD2J/SMJ/cpp-httplib
//Name of CMakeLists files to read
CMAKE_LIST_FILE_NAME:INTERNAL=CMakeLists.txt
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//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=D:/ProgrammesJ/CmakeJ/share/cmake-4.3

15 changes: 15 additions & 0 deletions build_note_server/CMakeFiles/4.3.0-rc2/CMakeSystem.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Windows-10.0.26200")
set(CMAKE_HOST_SYSTEM_NAME "Windows")
set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200")
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")



set(CMAKE_SYSTEM "Windows-10.0.26200")
set(CMAKE_SYSTEM_NAME "Windows")
set(CMAKE_SYSTEM_VERSION "10.0.26200")
set(CMAKE_SYSTEM_PROCESSOR "AMD64")

set(CMAKE_CROSSCOMPILING "FALSE")

set(CMAKE_SYSTEM_LOADED 1)
143 changes: 143 additions & 0 deletions build_note_server/CMakeFiles/CMakeConfigureLog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@

---
events:
-
kind: "message-v1"
backtrace:
- "D:/ProgrammesJ/CmakeJ/share/cmake-4.3/Modules/CMakeDetermineSystem.cmake:212 (message)"
- "CMakeLists.txt:88 (project)"
message: |
The system is: Windows - 10.0.26200 - AMD64
-
kind: "find-v1"
backtrace:
- "D:/ProgrammesJ/CmakeJ/share/cmake-4.3/Modules/CMakeMinGWFindMake.cmake:5 (find_program)"
- "CMakeLists.txt:88 (project)"
mode: "program"
variable: "CMAKE_MAKE_PROGRAM"
description: "Path to a program."
settings:
SearchFramework: "NEVER"
SearchAppBundle: "NEVER"
CMAKE_FIND_USE_CMAKE_PATH: true
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: true
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: true
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: true
CMAKE_FIND_USE_INSTALL_PREFIX: true
names:
- "mingw32-make.exe"
candidate_directories:
- "C:/Users/jizhenyi/.trae-cn/tools/trae-gopls/current/"
- "C:/Users/jizhenyi/.trae-cn/sdks/workspaces/4ec56500/versions/node/current/"
- "C:/Users/jizhenyi/.trae-cn/sdks/versions/node/current/"
- "D:/ProgrammesJ/Python313J/Scripts/"
- "D:/ProgrammesJ/Python313J/"
- "D:/ProgrammesJ/VMwareWorkstationJ/bin/"
- "C:/Windows/System32/"
- "C:/Windows/"
- "C:/Windows/System32/wbem/"
- "C:/Windows/System32/WindowsPowerShell/v1.0/"
- "C:/Windows/System32/OpenSSH/"
- "C:/Program Files/dotnet/"
- "D:/SoftWaresJ/BandizipJ/"
- "C:/Program Files/Microsoft SQL Server/170/Tools/Binn/"
- "C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/"
- "D:/Windows Kits/10/Windows Performance Toolkit/"
- "D:/ProgrammesJ/OpenVPNJ/OpenVPN/bin/"
- "D:/ProgrammesJ/GitJ/Git/cmd/"
- "D:/ProgrammesJ/CmakeJ/bin/"
- "C:/Users/jizhenyi/AppData/Local/Microsoft/WindowsApps/"
- "D:/ProgrammesJ/MicrosoftVSCodeJ/Microsoft VS Code/bin/"
- "C:/Users/jizhenyi/.dotnet/tools/"
- "D:/ProgrammesJ/PyCharmJ/PyCharm 2025.1/bin/"
- "D:/ProgrammesJ/CursorJ/cursor/resources/app/bin/"
- "/REGISTRY-NOTFOUND/bin/"
- "c:/MinGW/bin/"
- "/MinGW/bin/"
- "/REGISTRY-NOTFOUND/MinGW/bin/"
searched_directories:
- "C:/Users/jizhenyi/.trae-cn/tools/trae-gopls/current/mingw32-make.exe.com"
- "C:/Users/jizhenyi/.trae-cn/tools/trae-gopls/current/mingw32-make.exe"
- "C:/Users/jizhenyi/.trae-cn/sdks/workspaces/4ec56500/versions/node/current/mingw32-make.exe.com"
- "C:/Users/jizhenyi/.trae-cn/sdks/workspaces/4ec56500/versions/node/current/mingw32-make.exe"
- "C:/Users/jizhenyi/.trae-cn/sdks/versions/node/current/mingw32-make.exe.com"
- "C:/Users/jizhenyi/.trae-cn/sdks/versions/node/current/mingw32-make.exe"
- "D:/ProgrammesJ/Python313J/Scripts/mingw32-make.exe.com"
- "D:/ProgrammesJ/Python313J/Scripts/mingw32-make.exe"
- "D:/ProgrammesJ/Python313J/mingw32-make.exe.com"
- "D:/ProgrammesJ/Python313J/mingw32-make.exe"
- "D:/ProgrammesJ/VMwareWorkstationJ/bin/mingw32-make.exe.com"
- "D:/ProgrammesJ/VMwareWorkstationJ/bin/mingw32-make.exe"
- "C:/Windows/System32/mingw32-make.exe.com"
- "C:/Windows/System32/mingw32-make.exe"
- "C:/Windows/mingw32-make.exe.com"
- "C:/Windows/mingw32-make.exe"
- "C:/Windows/System32/wbem/mingw32-make.exe.com"
- "C:/Windows/System32/wbem/mingw32-make.exe"
- "C:/Windows/System32/WindowsPowerShell/v1.0/mingw32-make.exe.com"
- "C:/Windows/System32/WindowsPowerShell/v1.0/mingw32-make.exe"
- "C:/Windows/System32/OpenSSH/mingw32-make.exe.com"
- "C:/Windows/System32/OpenSSH/mingw32-make.exe"
- "C:/Program Files/dotnet/mingw32-make.exe.com"
- "C:/Program Files/dotnet/mingw32-make.exe"
- "D:/SoftWaresJ/BandizipJ/mingw32-make.exe.com"
- "D:/SoftWaresJ/BandizipJ/mingw32-make.exe"
- "C:/Program Files/Microsoft SQL Server/170/Tools/Binn/mingw32-make.exe.com"
- "C:/Program Files/Microsoft SQL Server/170/Tools/Binn/mingw32-make.exe"
- "C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/mingw32-make.exe.com"
- "C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/mingw32-make.exe"
- "D:/Windows Kits/10/Windows Performance Toolkit/mingw32-make.exe.com"
- "D:/Windows Kits/10/Windows Performance Toolkit/mingw32-make.exe"
- "D:/ProgrammesJ/OpenVPNJ/OpenVPN/bin/mingw32-make.exe.com"
- "D:/ProgrammesJ/OpenVPNJ/OpenVPN/bin/mingw32-make.exe"
- "D:/ProgrammesJ/GitJ/Git/cmd/mingw32-make.exe.com"
- "D:/ProgrammesJ/GitJ/Git/cmd/mingw32-make.exe"
- "D:/ProgrammesJ/CmakeJ/bin/mingw32-make.exe.com"
- "D:/ProgrammesJ/CmakeJ/bin/mingw32-make.exe"
- "C:/Users/jizhenyi/AppData/Local/Microsoft/WindowsApps/mingw32-make.exe.com"
- "C:/Users/jizhenyi/AppData/Local/Microsoft/WindowsApps/mingw32-make.exe"
- "D:/ProgrammesJ/MicrosoftVSCodeJ/Microsoft VS Code/bin/mingw32-make.exe.com"
- "D:/ProgrammesJ/MicrosoftVSCodeJ/Microsoft VS Code/bin/mingw32-make.exe"
- "C:/Users/jizhenyi/.dotnet/tools/mingw32-make.exe.com"
- "C:/Users/jizhenyi/.dotnet/tools/mingw32-make.exe"
- "D:/ProgrammesJ/PyCharmJ/PyCharm 2025.1/bin/mingw32-make.exe.com"
- "D:/ProgrammesJ/PyCharmJ/PyCharm 2025.1/bin/mingw32-make.exe"
- "D:/ProgrammesJ/CursorJ/cursor/resources/app/bin/mingw32-make.exe.com"
- "D:/ProgrammesJ/CursorJ/cursor/resources/app/bin/mingw32-make.exe"
- "/REGISTRY-NOTFOUND/bin/mingw32-make.exe.com"
- "/REGISTRY-NOTFOUND/bin/mingw32-make.exe"
- "c:/MinGW/bin/mingw32-make.exe.com"
- "c:/MinGW/bin/mingw32-make.exe"
- "/MinGW/bin/mingw32-make.exe.com"
- "/MinGW/bin/mingw32-make.exe"
- "/REGISTRY-NOTFOUND/MinGW/bin/mingw32-make.exe.com"
- "/REGISTRY-NOTFOUND/MinGW/bin/mingw32-make.exe"
found: false
search_context:
ENV{PATH}:
- "c:\\Users\\jizhenyi\\.trae-cn\\tools\\trae-gopls\\current"
- "c:\\Users\\jizhenyi\\.trae-cn\\sdks\\workspaces\\4ec56500\\versions\\node\\current"
- "c:\\Users\\jizhenyi\\.trae-cn\\sdks\\versions\\node\\current"
- "D:\\ProgrammesJ\\Python313J\\Scripts\\"
- "D:\\ProgrammesJ\\Python313J\\"
- "D:\\ProgrammesJ\\VMwareWorkstationJ\\bin\\"
- "C:\\WINDOWS\\system32"
- "C:\\WINDOWS"
- "C:\\WINDOWS\\System32\\Wbem"
- "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\"
- "C:\\WINDOWS\\System32\\OpenSSH\\"
- "C:\\Windows\\system32"
- "C:\\Program Files\\dotnet\\"
- "D:\\SoftWaresJ\\BandizipJ\\"
- "C:\\Program Files\\Microsoft SQL Server\\170\\Tools\\Binn\\"
- "C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\"
- "D:\\Windows Kits\\10\\Windows Performance Toolkit\\"
- "D:\\ProgrammesJ\\OpenVPNJ\\OpenVPN\\bin"
- "D:\\ProgrammesJ\\GitJ\\Git\\cmd"
- "D:\\ProgrammesJ\\CmakeJ\\bin"
- "C:\\Users\\jizhenyi\\AppData\\Local\\Microsoft\\WindowsApps"
- "D:\\ProgrammesJ\\MicrosoftVSCodeJ\\Microsoft VS Code\\bin"
- "C:\\Users\\jizhenyi\\.dotnet\\tools"
- "D:\\ProgrammesJ\\PyCharmJ\\PyCharm 2025.1\\bin"
- "D:\\ProgrammesJ\\CursorJ\\cursor\\resources\\app\\bin"
...
1 change: 1 addition & 0 deletions build_note_server/CMakeFiles/cmake.check_cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
Loading