OpenCASCADECompileDefinitionsAndFlags-release.cmake 1.4 KB

1234567891011121314151617181920212223
  1. #-----------------------------------------------------------------------------
  2. #
  3. # OpenCASCADECompileDefinitionsAndFlags-release.cmake - OpenCASCADE CMake file
  4. # with compile definitions and C/C++ flags for Release 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_RELEASE "/MD /O2 /Ob2 /DNDEBUG /GF /Gy -DNo_Exception")
  10. set (OpenCASCADE_CXX_FLAGS_RELEASE "/MD /O2 /Ob2 /DNDEBUG /GF /Gy -DNo_Exception")
  11. # The compile definitions used by OpenCASCADE.
  12. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:UNICODE>)
  13. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:_UNICODE>)
  14. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:_CRT_SECURE_NO_WARNINGS>)
  15. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:_CRT_NONSTDC_NO_DEPRECATE>)
  16. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:HAVE_TK>)
  17. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:HAVE_FREETYPE>)
  18. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:HAVE_VTK>)
  19. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:HAVE_OPENGL_EXT>)
  20. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:VTK_OPENGL2_BACKEND>)