mirror of
https://github.com/reactos/CMake.git
synced 2025-03-04 18:07:27 +00:00

The valid settings to pass to the IBM XL compiler for the -qhalt flag vary widely by language and platform. Based on existing documentation, the following table shows which error levels are valid to pass to -qhalt= since -qhalt=e is not always available. OS | xlc | xlC | xlf | ---------|-------|------------------ AIX | iwes | iw s | ilwesu | BlueGene | iwes | iwes | ilwesu | OS X | iwesu | iwesu | ilwesu | Linux | w | w | ilwesu |
9 lines
323 B
CMake
9 lines
323 B
CMake
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj")
|
|
set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle")
|
|
|
|
# Enable shared library versioning.
|
|
set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-install_name")
|
|
|
|
# -qhalt=e = Halt on error messages (rather than just severe errors)
|
|
string(APPEND CMAKE_C_FLAGS_INIT " -qhalt=e")
|