CMakeImportBuildSettings.cmake 1.1 KB

123456789101112131415161718192021222324
  1. #=============================================================================
  2. # Copyright 2002-2009 Kitware, Inc.
  3. #
  4. # Distributed under the OSI-approved BSD License (the "License");
  5. # see accompanying file Copyright.txt for details.
  6. #
  7. # This software is distributed WITHOUT ANY WARRANTY; without even the
  8. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. # See the License for more information.
  10. #=============================================================================
  11. # (To distribute this file outside of CMake, substitute the full
  12. # License text for the above reference.)
  13. # This module is purposely no longer documented. It does nothing useful.
  14. # This macro used to load build settings from another project that
  15. # stored settings using the CMAKE_EXPORT_BUILD_SETTINGS macro.
  16. MACRO(CMAKE_IMPORT_BUILD_SETTINGS SETTINGS_FILE)
  17. IF(${SETTINGS_FILE} MATCHES ".+")
  18. ELSE(${SETTINGS_FILE} MATCHES ".+")
  19. MESSAGE(SEND_ERROR "CMAKE_IMPORT_BUILD_SETTINGS called with no argument.")
  20. ENDIF(${SETTINGS_FILE} MATCHES ".+")
  21. ENDMACRO(CMAKE_IMPORT_BUILD_SETTINGS)