Additionally, I added a .env file and started using cmake build styles rather than g++ for more efficient compiling and testing. Changes to be committed: new file: .env new file: CMakeLists.txt new file: build/CMakeCache.txt new file: build/CMakeFiles/4.3.2/CMakeCXXCompiler.cmake new file: build/CMakeFiles/4.3.2/CMakeDetermineCompilerABI_CXX.bin new file: build/CMakeFiles/4.3.2/CMakeSystem.cmake new file: build/CMakeFiles/4.3.2/CompilerIdCXX/CMakeCXXCompilerId.cpp new file: build/CMakeFiles/4.3.2/CompilerIdCXX/a.out new file: build/CMakeFiles/CMakeConfigureLog.yaml new file: build/CMakeFiles/CMakeDirectoryInformation.cmake new file: build/CMakeFiles/InstallScripts.json new file: build/CMakeFiles/Makefile.cmake new file: build/CMakeFiles/Makefile2 new file: build/CMakeFiles/TargetDirectories.txt new file: build/CMakeFiles/cmake.check_cache new file: build/CMakeFiles/parselog_cli.dir/DependInfo.cmake new file: build/CMakeFiles/parselog_cli.dir/build.make new file: build/CMakeFiles/parselog_cli.dir/cmake_clean.cmake new file: build/CMakeFiles/parselog_cli.dir/compiler_depend.internal new file: build/CMakeFiles/parselog_cli.dir/compiler_depend.make new file: build/CMakeFiles/parselog_cli.dir/compiler_depend.ts new file: build/CMakeFiles/parselog_cli.dir/depend.make new file: build/CMakeFiles/parselog_cli.dir/flags.make new file: build/CMakeFiles/parselog_cli.dir/ip_to_geo/ip_to_geo.cpp.o new file: build/CMakeFiles/parselog_cli.dir/ip_to_geo/ip_to_geo.cpp.o.d new file: build/CMakeFiles/parselog_cli.dir/link.d new file: build/CMakeFiles/parselog_cli.dir/link.txt new file: build/CMakeFiles/parselog_cli.dir/log_parsing/log_parsing.cpp.o new file: build/CMakeFiles/parselog_cli.dir/log_parsing/log_parsing.cpp.o.d new file: build/CMakeFiles/parselog_cli.dir/main.cpp.o new file: build/CMakeFiles/parselog_cli.dir/main.cpp.o.d new file: build/CMakeFiles/parselog_cli.dir/progress.make new file: build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP.cpp.o new file: build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP.cpp.o.d new file: build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP_error_category.cpp.o new file: build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP_error_category.cpp.o.d new file: build/CMakeFiles/progress.marks new file: build/Makefile new file: build/cmake_install.cmake new file: build/compile_commands.json new file: build/parselog_cli new file: compile_commands.json new file: data/GeoLite2-City.mmdb modified: ip_to_geo/ip_to_geo.cpp modified: ip_to_geo/ip_to_geo.hpp modified: main.cpp deleted: parselog_cli.exe deleted: test renamed: ip_to_geo/GeoLite2PP.hpp -> third_party/include/GeoLite2PP.hpp new file: third_party/include/GeoLite2PP_error_category.hpp new file: third_party/include/GeoLite2PP_version.hpp new file: third_party/include/maxminddb.h new file: third_party/include/maxminddb_config.h new file: third_party/lib/libmaxminddb.a new file: third_party/src/GeoLite2PP.cpp new file: third_party/src/GeoLite2PP_error_category.cpp
67 lines
2.1 KiB
CMake
67 lines
2.1 KiB
CMake
# Install script for directory: /home/rapturate/Code/cpp/parselog_cli
|
|
|
|
# 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()
|
|
|
|
# Set path to fallback-tool for dependency-resolution.
|
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
|
endif()
|
|
|
|
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
if(CMAKE_INSTALL_LOCAL_ONLY)
|
|
file(WRITE "/home/rapturate/Code/cpp/parselog_cli/build/install_local_manifest.txt"
|
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
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)
|
|
file(WRITE "/home/rapturate/Code/cpp/parselog_cli/build/${CMAKE_INSTALL_MANIFEST}"
|
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
endif()
|