OpenCASCADECompileDefinitionsAndFlags-debug.cmake 1.3 KB

1234567891011121314151617181920212223
  1. #-----------------------------------------------------------------------------
  2. #
  3. # OpenCASCADECompileDefinitionsAndFlags-debug.cmake - OpenCASCADE CMake file
  4. # with compile definitions and C/C++ flags for Debug configuration.
  5. #
  6. # This file is configured by OpenCASCADE.
  7. #
  8. # The C and C++ flags added by OpenCASCADE to the cmake-configured flags.
  9. set (OpenCASCADE_C_FLAGS_DEBUG "/MDd /Zi /Ob0 /Od /RTC1")
  10. set (OpenCASCADE_CXX_FLAGS_DEBUG "/MDd /Zi /Ob0 /Od /RTC1")
  11. # The compile definitions used by OpenCASCADE.
  12. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:UNICODE>)
  13. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:_UNICODE>)
  14. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:_CRT_SECURE_NO_WARNINGS>)
  15. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:_CRT_NONSTDC_NO_DEPRECATE>)
  16. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:HAVE_TK>)
  17. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:HAVE_FREETYPE>)
  18. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:HAVE_VTK>)
  19. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:HAVE_OPENGL_EXT>)
  20. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:VTK_OPENGL2_BACKEND>)