Loading CMakeLists.txt +8 −0 Original line number Diff line number Diff line project(libconfplus) cmake_minimum_required(VERSION 3.00) set(WINDOWS_EXPORT_ALL_SYMBOLS ON) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") set(CMAKE_CXX_FLAGS Loading @@ -9,6 +11,12 @@ set(CMAKE_CXX_FLAGS -Wall" ) if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Windows") set(CMAKE_INSTALL_PREFIX "c:/Program Files/libconfplus") endif() add_definitions(-D${CMAKE_SYSTEM_NAME}) configure_file(config.h.in ${CMAKE_BINARY_DIR}/config.h) set(LIBV "1") Loading CMakeSettings.json 0 → 100644 +27 −0 Original line number Diff line number Diff line { "configurations": [ { "name": "x64-Debug", "generator": "Ninja", "configurationType": "Debug", "inheritEnvironments": [ "msvc_x64_x64" ], "buildRoot": "${projectDir}\\out\\build\\${name}", "installRoot": "${projectDir}\\out\\install\\${name}", "cmakeCommandArgs": "", "buildCommandArgs": "", "ctestCommandArgs": "", "variables": [ { "name": "YAML_INCLUDE_DIR", "value": "C:/Users/jan.koester/source/repos/libyaml/out/install/x64-Debug/include", "type": "PATH" }, { "name": "YAML_LIBRARIES", "value": "C:/Users/jan.koester/source/repos/libyaml/out/install/x64-Debug/lib/yaml.lib", "type": "FILEPATH" } ] } ] } No newline at end of file LICENSE→LICENSE.txt +5 −4 Original line number Diff line number Diff line BSD 3-Clause License Copyright (c) 2023, jan.koester Copyright (c) 2025, Jan Koester All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Loading backends/CMakeLists.txt +14 −3 Original line number Diff line number Diff line Loading @@ -15,12 +15,18 @@ if(${YAML_FOUND}) set_target_properties(yamlconf PROPERTIES OUTPUT_NAME yaml) target_include_directories(yamlconf PUBLIC ${YAML_INCLUDE_DIR}) target_link_libraries(yamlconf ${YAML_LIBRARIES} confplus dl) if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") target_link_libraries(yamlconf PUBLIC confplus ${YAML_LIBRARIES} kernel32.lib) else() target_link_libraries(yamlconf PUBLIC confplus ${YAML_LIBRARIES} dl) endif() install(TARGETS yamlconf DESTINATION lib/confplus/backend) endif() find_package(INIPARSER) if(${INIPARSER_FOUND}) Loading @@ -34,7 +40,12 @@ if(${INIPARSER_FOUND}) set_target_properties(iniconf PROPERTIES OUTPUT_NAME ini) target_include_directories(iniconf PUBLIC ${INIPARSER_INCLUDE_DIR}) target_link_libraries(iniconf ${INIPARSER_LIBRARY} confplus dl) if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") target_link_libraries(iniconf PUBLIC confplus PRIVATE ${INIPARSER_LIBRARY} kernel32.lib) else() target_link_libraries(iniconf PUBLIC confplus PRIVATE ${INIPARSER_LIBRARY} dl) endif() install(TARGETS iniconf DESTINATION lib/confplus/backend) endif() No newline at end of file backends/regedit/regedit.cpp 0 → 100644 +0 −0 Empty file added. Loading
CMakeLists.txt +8 −0 Original line number Diff line number Diff line project(libconfplus) cmake_minimum_required(VERSION 3.00) set(WINDOWS_EXPORT_ALL_SYMBOLS ON) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") set(CMAKE_CXX_FLAGS Loading @@ -9,6 +11,12 @@ set(CMAKE_CXX_FLAGS -Wall" ) if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Windows") set(CMAKE_INSTALL_PREFIX "c:/Program Files/libconfplus") endif() add_definitions(-D${CMAKE_SYSTEM_NAME}) configure_file(config.h.in ${CMAKE_BINARY_DIR}/config.h) set(LIBV "1") Loading
CMakeSettings.json 0 → 100644 +27 −0 Original line number Diff line number Diff line { "configurations": [ { "name": "x64-Debug", "generator": "Ninja", "configurationType": "Debug", "inheritEnvironments": [ "msvc_x64_x64" ], "buildRoot": "${projectDir}\\out\\build\\${name}", "installRoot": "${projectDir}\\out\\install\\${name}", "cmakeCommandArgs": "", "buildCommandArgs": "", "ctestCommandArgs": "", "variables": [ { "name": "YAML_INCLUDE_DIR", "value": "C:/Users/jan.koester/source/repos/libyaml/out/install/x64-Debug/include", "type": "PATH" }, { "name": "YAML_LIBRARIES", "value": "C:/Users/jan.koester/source/repos/libyaml/out/install/x64-Debug/lib/yaml.lib", "type": "FILEPATH" } ] } ] } No newline at end of file
LICENSE→LICENSE.txt +5 −4 Original line number Diff line number Diff line BSD 3-Clause License Copyright (c) 2023, jan.koester Copyright (c) 2025, Jan Koester All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Loading
backends/CMakeLists.txt +14 −3 Original line number Diff line number Diff line Loading @@ -15,12 +15,18 @@ if(${YAML_FOUND}) set_target_properties(yamlconf PROPERTIES OUTPUT_NAME yaml) target_include_directories(yamlconf PUBLIC ${YAML_INCLUDE_DIR}) target_link_libraries(yamlconf ${YAML_LIBRARIES} confplus dl) if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") target_link_libraries(yamlconf PUBLIC confplus ${YAML_LIBRARIES} kernel32.lib) else() target_link_libraries(yamlconf PUBLIC confplus ${YAML_LIBRARIES} dl) endif() install(TARGETS yamlconf DESTINATION lib/confplus/backend) endif() find_package(INIPARSER) if(${INIPARSER_FOUND}) Loading @@ -34,7 +40,12 @@ if(${INIPARSER_FOUND}) set_target_properties(iniconf PROPERTIES OUTPUT_NAME ini) target_include_directories(iniconf PUBLIC ${INIPARSER_INCLUDE_DIR}) target_link_libraries(iniconf ${INIPARSER_LIBRARY} confplus dl) if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") target_link_libraries(iniconf PUBLIC confplus PRIVATE ${INIPARSER_LIBRARY} kernel32.lib) else() target_link_libraries(iniconf PUBLIC confplus PRIVATE ${INIPARSER_LIBRARY} dl) endif() install(TARGETS iniconf DESTINATION lib/confplus/backend) endif() No newline at end of file