Skip to content

Commit 7633ac0

Browse files
Merge pull request #63 from Neko-Box-Coder/RemoveRYML
Remove all usage of ryml, updating DSResult
2 parents b6ed754 + abe7c84 commit 7633ac0

43 files changed

Lines changed: 53 additions & 1965 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
[submodule "System2"]
1414
path = External/System2
1515
url = https://github.com/Neko-Box-Coder/System2.git
16-
[submodule "rapidyaml"]
17-
path = External/rapidyaml
18-
url = https://github.com/biojppm/rapidyaml.git
1916
[submodule "dylib"]
2017
path = External/dylib
2118
url = https://github.com/martin-olivier/dylib.git

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ message("RUNCPP2_PROJECT_VERSION: ${RUNCPP2_PROJECT_VERSION}")
9898
# endif()
9999

100100
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/External/ssLogger")
101-
102-
set(RYML_DEFAULT_CALLBACK_USES_EXCEPTIONS ON CACHE BOOL "" FORCE)
103-
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/External/rapidyaml")
104-
105101
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/External/filesystem")
106102
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/External/System2")
107103
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/External/dylib")
@@ -214,7 +210,7 @@ set(RUNCPP2_SOURCE_FILES "${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/Profile.
214210
add_library(runcpp2Lib STATIC ${RUNCPP2_SOURCE_FILES})
215211

216212
set(RUNCPP2_PRIVATE_LINK_LIBS ssLogger System2 CppOverride dylib)
217-
set(RUNCPP2_PUBLIC_LINK_LIBS ghc_filesystem ryml::ryml mpark_variant MacroPowerToys string-view-lite yaml DSResult)
213+
set(RUNCPP2_PUBLIC_LINK_LIBS ghc_filesystem mpark_variant MacroPowerToys string-view-lite yaml DSResult)
218214

219215
target_include_directories(runcpp2Lib PUBLIC "${CMAKE_CURRENT_LIST_DIR}/Include")
220216
target_link_libraries(runcpp2Lib PRIVATE ${RUNCPP2_PRIVATE_LINK_LIBS})

External/DSResult

External/rapidyaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

Include/runcpp2/Data/DependencyInfo.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ namespace runcpp2
3030
std::unordered_map<PlatformName, ProfilesCommands> Build;
3131
std::unordered_map<PlatformName, FilesToCopyInfo> FilesToCopy;
3232

33-
bool ParseYAML_Node(ryml::ConstNodeRef node);
3433
bool ParseYAML_Node(YAML::ConstNodePtr node);
3534

3635
std::string ToString(std::string indentation) const;

Include/runcpp2/Data/DependencyLinkProperty.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,8 @@ namespace runcpp2
2525
public:
2626
std::unordered_map<ProfileName, ProfileLinkProperty> ProfileProperties;
2727

28-
bool ParseYAML_Node(ryml::ConstNodeRef node);
2928
bool ParseYAML_Node(YAML::ConstNodePtr node);
3029

31-
bool ParseYAML_NodeWithProfile(ryml::ConstNodeRef node, ProfileName profile);
32-
bool IsYAML_NodeParsableAsDefault(ryml::ConstNodeRef node) const;
33-
3430
bool ParseYAML_NodeWithProfile_LibYaml(YAML::ConstNodePtr node, ProfileName profile);
3531
bool IsYAML_NodeParsableAsDefault_LibYaml(YAML::ConstNodePtr node) const;
3632

Include/runcpp2/Data/DependencySource.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ namespace runcpp2
2121
ghc::filesystem::path ImportPath;
2222
std::vector<std::shared_ptr<DependencySource>> ImportedSources;
2323

24-
bool ParseYAML_Node(ryml::ConstNodeRef node);
2524
bool ParseYAML_Node(YAML::ConstNodePtr node);
2625
std::string ToString(std::string indentation) const;
2726
bool Equals(const DependencySource& other) const;

Include/runcpp2/Data/FileProperties.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ namespace runcpp2
1515
std::unordered_map<PlatformName, std::string> Prefix;
1616
std::unordered_map<PlatformName, std::string> Extension;
1717

18-
bool ParseYAML_Node(ryml::ConstNodeRef node);
1918
bool ParseYAML_Node(YAML::ConstNodePtr node);
2019

2120
std::string ToString(std::string indentation) const;

Include/runcpp2/Data/FilesToCopyInfo.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,8 @@ namespace runcpp2
1616
{
1717
std::unordered_map<ProfileName, std::vector<std::string>> ProfileFiles;
1818

19-
bool ParseYAML_Node(ryml::ConstNodeRef node);
2019
bool ParseYAML_Node(YAML::ConstNodePtr node);
2120

22-
bool ParseYAML_NodeWithProfile(ryml::ConstNodeRef node, ProfileName profile);
23-
bool IsYAML_NodeParsableAsDefault(ryml::ConstNodeRef node) const;
24-
2521
bool ParseYAML_NodeWithProfile_LibYaml(YAML::ConstNodePtr node, ProfileName profile);
2622
bool IsYAML_NodeParsableAsDefault_LibYaml(YAML::ConstNodePtr node) const;
2723

Include/runcpp2/Data/FilesTypesInfo.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ namespace runcpp2
1717
FileProperties StaticLinkFile;
1818
FileProperties DebugSymbolFile;
1919

20-
bool ParseYAML_Node(ryml::ConstNodeRef node);
2120
bool ParseYAML_Node(YAML::ConstNodePtr node);
2221

2322
std::string ToString(std::string indentation) const;

0 commit comments

Comments
 (0)