From 8511dd048f55397e47f668555b291bac2d31ce22 Mon Sep 17 00:00:00 2001 From: Norihiro Watanabe <norihiro.watanabe@ufz.de> Date: Wed, 22 Jun 2016 13:08:55 +0200 Subject: [PATCH] add XML schema paths to BuildInfo --- BaseLib/BuildInfo.cpp.in | 2 ++ BaseLib/BuildInfo.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/BaseLib/BuildInfo.cpp.in b/BaseLib/BuildInfo.cpp.in index 20bd9ba5f81..1ca7d040f42 100644 --- a/BaseLib/BuildInfo.cpp.in +++ b/BaseLib/BuildInfo.cpp.in @@ -31,6 +31,8 @@ namespace BuildInfo const std::string ogs_version("@OGS_VERSION@"); const std::string source_path("@CMAKE_CURRENT_SOURCE_DIR@"); + const std::string geo_xml_schema_path("@CMAKE_CURRENT_SOURCE_DIR@/GeoLib/IO/XmlIO"); + const std::string app_xml_schema_path("@CMAKE_CURRENT_SOURCE_DIR@/Applications/FileIO/XmlIO"); const std::string data_path("@Data_SOURCE_DIR@"); const std::string data_binary_path("@Data_BINARY_DIR@"); const std::string tests_tmp_path("@PROJECT_BINARY_DIR@/Tests/"); diff --git a/BaseLib/BuildInfo.h b/BaseLib/BuildInfo.h index 5f55223a883..85624410c49 100644 --- a/BaseLib/BuildInfo.h +++ b/BaseLib/BuildInfo.h @@ -33,6 +33,8 @@ namespace BuildInfo extern const std::string ogs_version; extern const std::string source_path; + extern const std::string geo_xml_schema_path; + extern const std::string app_xml_schema_path; extern const std::string data_path; extern const std::string data_binary_path; extern const std::string tests_tmp_path; -- GitLab