<commit_before>
set(LIB_SRC SchemaLex.cpp
			SchemaParser.cpp
			MBChar.cpp
			SchemaValidator.cpp
			platform.cpp
			util.cpp
			Configuration.cpp
			DefaultSecurity.cpp
			DefaultSecurityConfiguration.cpp
			ConfigurationException.cpp
			ConfigurationImpl.cpp
			ConfigParser.cpp
			UidIdentifierProcessor.cpp
			ConfigScope.cpp
			ConfigScopeEntry.cpp
			ConfigItem.cpp
			LexToken.cpp
			LexBase.cpp
			ConfigLex.cpp
			StringBuffer.cpp
			StringVector.cpp
			SchemaType.cpp
			SchemaTypeBoolean.cpp
			SchemaTypeDurationMicroseconds.cpp
			SchemaTypeDurationMilliseconds.cpp
			SchemaTypeDurationSeconds.cpp
			SchemaTypeEnum.cpp
			SchemaTypeFloat.cpp
			SchemaTypeFloatWithUnits.cpp
			SchemaTypeInt.cpp
			SchemaTypeIntWithUnits.cpp
			SchemaTypeMemorySizeBytes.cpp
			SchemaTypeMemorySizeKB.cpp
			SchemaTypeMemorySizeMB.cpp
			SchemaTypeScope.cpp
			SchemaTypeString.cpp
			SchemaTypeUnitsWithFloat.cpp
			SchemaTypeUnitsWithInt.cpp
			SchemaTypeList.cpp
			SchemaTypeTable.cpp
			SchemaTypeTuple.cpp
			SchemaTypeTypedef.cpp
			)

add_library(libconfig4cpp ${LIB_SRC})
set_target_properties(libconfig4cpp
                        PROPERTIES
                        PREFIX ""
                        ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib
                        )


set(CONFIG2CPP_SRC config2cpp-main.cpp
                    Config2Cpp.cpp
                    )

add_executable(config2cpp ${CONFIG2CPP_SRC})
target_link_libraries(config2cpp libconfig4cpp)


set(CONFIG2CPP_NOCHECK_SRC config2cpp-nocheck-main.cpp
                            Config2Cpp.cpp
                            )

add_executable(config2cpp-nocheck ${CONFIG2CPP_NOCHECK_SRC})
target_link_libraries(config2cpp-nocheck libconfig4cpp)


set(CONFIG4CPP_SRC config4cpp.cpp)

add_executable(config4cpp-bin ${CONFIG4CPP_SRC})
target_link_libraries(config4cpp-bin libconfig4cpp)


set_target_properties(config2cpp config2cpp-nocheck config4cpp-bin
                        PROPERTIES
                        RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin
                        )<commit_msg>Targetname for library corrected.<commit_after>
set(LIB_SRC SchemaLex.cpp
			SchemaParser.cpp
			MBChar.cpp
			SchemaValidator.cpp
			platform.cpp
			util.cpp
			Configuration.cpp
			DefaultSecurity.cpp
			DefaultSecurityConfiguration.cpp
			ConfigurationException.cpp
			ConfigurationImpl.cpp
			ConfigParser.cpp
			UidIdentifierProcessor.cpp
			ConfigScope.cpp
			ConfigScopeEntry.cpp
			ConfigItem.cpp
			LexToken.cpp
			LexBase.cpp
			ConfigLex.cpp
			StringBuffer.cpp
			StringVector.cpp
			SchemaType.cpp
			SchemaTypeBoolean.cpp
			SchemaTypeDurationMicroseconds.cpp
			SchemaTypeDurationMilliseconds.cpp
			SchemaTypeDurationSeconds.cpp
			SchemaTypeEnum.cpp
			SchemaTypeFloat.cpp
			SchemaTypeFloatWithUnits.cpp
			SchemaTypeInt.cpp
			SchemaTypeIntWithUnits.cpp
			SchemaTypeMemorySizeBytes.cpp
			SchemaTypeMemorySizeKB.cpp
			SchemaTypeMemorySizeMB.cpp
			SchemaTypeScope.cpp
			SchemaTypeString.cpp
			SchemaTypeUnitsWithFloat.cpp
			SchemaTypeUnitsWithInt.cpp
			SchemaTypeList.cpp
			SchemaTypeTable.cpp
			SchemaTypeTuple.cpp
			SchemaTypeTypedef.cpp
			)

add_library(config4cpp ${LIB_SRC})


set(CONFIG2CPP_SRC config2cpp-main.cpp
                    Config2Cpp.cpp
                    )

add_executable(config2cpp ${CONFIG2CPP_SRC})
target_link_libraries(config2cpp config4cpp)


set(CONFIG2CPP_NOCHECK_SRC config2cpp-nocheck-main.cpp
                            Config2Cpp.cpp
                            )

add_executable(config2cpp-nocheck ${CONFIG2CPP_NOCHECK_SRC})
target_link_libraries(config2cpp-nocheck config4cpp)


set(CONFIG4CPP_SRC config4cpp.cpp)

add_executable(config4cpp-bin ${CONFIG4CPP_SRC})
target_link_libraries(config4cpp-bin config4cpp)

{'fraction_non_alphanumeric': 0.05292553191489362, 'fraction_numerical': 0.01223404255319149, 'mean_word_length': 3.169623059866962, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '722579', 'n_tokens_mistral': 1313, 'n_tokens_neox': 1132, 'n_words': 146}