OpenCASCADECompileDefinitionsAndFlags-release.cmake 1.2 KB

123456789101112131415161718192021
  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 "-O3 -DNDEBUG -s -DNo_Exception")
  10. set (OpenCASCADE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -s -DNo_Exception")
  11. # The compile definitions used by OpenCASCADE.
  12. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:OCC_CONVERT_SIGNALS>)
  13. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:HAVE_TK>)
  14. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:HAVE_XLIB>)
  15. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:HAVE_FREETYPE>)
  16. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:HAVE_VTK>)
  17. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:HAVE_OPENGL_EXT>)
  18. set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Release>:VTK_OPENGL2_BACKEND>)