-## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+# Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
cmake_minimum_required (VERSION 2.6)
cmake_policy(SET CMP0011 NEW)
IF(UNIX)
IF(CMAKE_COMPILER_IS_GNUCC)
#C++11 is not supported on some platforms, disable it
- MESSAGE(STATUS "Setting -std=c++0x flag for the gcc...")
+ #MESSAGE(STATUS "Setting -std=c++0x flag for the gcc...")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
#Supporting test coverage checks (gcov) in the DEBUG mode
SETUP_TARGET_FOR_COVERAGE(test_coverage # Name for custom target.
ctest # Name of the test driver executable that runs the tests.
coverage) # Name of output directory.
+
+ SET(USE_TEST_COVERAGE False)
ENDIF(USE_TEST_COVERAGE)
#SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -E")
- MESSAGE(STATUS "gcc flags are: " ${CMAKE_CXX_FLAGS})
- MESSAGE(STATUS "linker flags are: " ${CMAKE_SHARED_LINKER_FLAGS})
+ #MESSAGE(STATUS "gcc flags are: " ${CMAKE_CXX_FLAGS})
+ #MESSAGE(STATUS "linker flags are: " ${CMAKE_SHARED_LINKER_FLAGS})
ENDIF(CMAKE_COMPILER_IS_GNUCC)
ENDIF(UNIX)