HP-UX-HP-CXX.cmake 653 B

1234567891011121314
  1. include(Platform/HP-UX-HP)
  2. __hpux_compiler_hp(CXX)
  3. set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
  4. set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE
  5. "<CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -S <SOURCE>"
  6. "mv `basename \"<SOURCE>\" | sed 's/\\.[^./]*$$//'`.s <ASSEMBLY_SOURCE>"
  7. "rm -f `basename \"<SOURCE>\" | sed 's/\\.[^./]*$$//'`.o"
  8. )
  9. string(APPEND CMAKE_CXX_FLAGS_DEBUG_INIT " -g")
  10. string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " +O3 -DNDEBUG")
  11. string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " +O2 -DNDEBUG")
  12. string(APPEND CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT " -g")