Skip to content
Snippets Groups Projects
Commit 0905b5ea authored by Lars Bilke's avatar Lars Bilke
Browse files

Dropped unused variables from InfoLibs

parent 7afb78e7
No related branches found
No related tags found
No related merge requests found
foreach(lib foreach(lib Git CMake Test)
Compiler
Git
CMake
Test)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${lib}Info.cpp.in configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${lib}Info.cpp.in
${CMAKE_CURRENT_BINARY_DIR}/${lib}Info.cpp @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${lib}Info.cpp @ONLY)
......
/**
* \brief Build information.
*
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "InfoLib/CompilerInfo.h"
namespace CompilerInfoLib
{
namespace CompilerInfo
{
const std::string cmake_cxx_compiler("@CMAKE_CXX_COMPILER@");
const std::string cmake_cxx_flags("@CMAKE_CXX_FLAGS@");
const std::string cmake_cxx_flags_release("@CMAKE_CXX_FLAGS_RELEASE@");
const std::string cmake_cxx_flags_debug("@CMAKE_CXX_FLAGS_DEBUG@");
}
}
/**
* \brief Build information.
*
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
#include <string>
#include "compilerinfolib_export.h"
namespace CompilerInfoLib
{
namespace CompilerInfo
{
extern COMPILERINFOLIB_EXPORT const std::string cmake_cxx_compiler; // all not used
extern COMPILERINFOLIB_EXPORT const std::string cmake_cxx_flags;
extern COMPILERINFOLIB_EXPORT const std::string cmake_cxx_flags_release;
extern COMPILERINFOLIB_EXPORT const std::string cmake_cxx_flags_debug;
} // namespace BuildInfo
} // namespace BaseLib
...@@ -16,9 +16,7 @@ namespace TestInfoLib ...@@ -16,9 +16,7 @@ namespace TestInfoLib
namespace TestInfo namespace TestInfo
{ {
// const std::string source_path("@CMAKE_CURRENT_SOURCE_DIR@");
const std::string data_path("@Data_SOURCE_DIR@"); 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/"); const std::string tests_tmp_path("@PROJECT_BINARY_DIR@/Tests/");
} }
} }
...@@ -20,9 +20,7 @@ namespace TestInfoLib ...@@ -20,9 +20,7 @@ namespace TestInfoLib
namespace TestInfo namespace TestInfo
{ {
// extern INFOLIB_EXPORT const std::string source_path; // not used
extern TESTINFOLIB_EXPORT const std::string data_path; extern TESTINFOLIB_EXPORT const std::string data_path;
// extern INFOLIB_EXPORT const std::string data_binary_path; // not used
extern TESTINFOLIB_EXPORT const std::string tests_tmp_path; extern TESTINFOLIB_EXPORT const std::string tests_tmp_path;
} // namespace } // namespace
} // namespace } // namespace
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment