cmDocumentCompileDefinitions.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmDocumentCompileDefinitions_h
  11. #define cmDocumentCompileDefinitions_h
  12. #define CM_DOCUMENT_COMPILE_DEFINITIONS_DISCLAIMER \
  13. "Disclaimer: Most native build tools have poor support for escaping " \
  14. "certain values. CMake has work-arounds for many cases but some " \
  15. "values may just not be possible to pass correctly. If a value " \
  16. "does not seem to be escaped correctly, do not attempt to " \
  17. "work-around the problem by adding escape sequences to the value. " \
  18. "Your work-around may break in a future version of CMake that " \
  19. "has improved escape support. Instead consider defining the macro " \
  20. "in a (configured) header file. Then report the limitation. " \
  21. "Known limitations include:\n" \
  22. " # - broken almost everywhere\n" \
  23. " ; - broken in VS IDE 7.0 and Borland Makefiles\n" \
  24. " , - broken in VS IDE\n" \
  25. " % - broken in some cases in NMake\n" \
  26. " & | - broken in some cases on MinGW\n" \
  27. " ^ < > \\\" - broken in most Make tools on Windows\n" \
  28. "CMake does not reject these values outright because they do work " \
  29. "in some cases. Use with caution. "
  30. #endif