Commit f384ceb8 authored by Jan Köster's avatar Jan Köster
Browse files

reg addded

parent b42a9e33
Loading
Loading
Loading
Loading

CMakeSettings.json

deleted100644 → 0
+0 −27
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/libyaml.lib",
                    "type": "FILEPATH"
                }
            ]
        }
    ]
}
 No newline at end of file
+2 −1
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ if(INIPARSER_FOUND)
endif()

if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
    set (REGEDIT_FOUND TRUE)
    set(regeditsrc regedit/regedit.cpp)
    
    add_library(regedit SHARED ${regeditsrc})
@@ -70,6 +71,6 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
endif()


if(NOT YAML_FOUND AND NOT INIPARSER_FOUND)
if(NOT YAML_FOUND AND NOT INIPARSER_FOUND AND NOT REGEDIT_FOUND)
    message(ERROR "No backends are found Fatal!")
endif()