| Server IP : 23.254.227.96 / Your IP : 216.73.216.21 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/cmake/Modules/Platform/ |
Upload File : |
# This module is shared by multiple languages; use include blocker.
include_guard()
set(CMAKE_BUILD_TYPE_INIT Debug)
if(DEFINED CMAKE_SYSTEM_PROCESSOR AND CMAKE_SYSTEM_PROCESSOR STREQUAL "I86")
string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " system dos")
string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " system dos")
string(APPEND CMAKE_MODULE_LINKER_FLAGS_INIT " system dos")
else()
string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " system dos4g")
string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " system dos4g")
string(APPEND CMAKE_MODULE_LINKER_FLAGS_INIT " system dos4g")
endif()
set(CMAKE_C_COMPILE_OPTIONS_DLL "-bd") # Note: This variable is a ';' separated list
set(CMAKE_SHARED_LIBRARY_C_FLAGS "-bd") # ... while this is a space separated string.
string(APPEND CMAKE_C_FLAGS_INIT " -bt=dos")
string(APPEND CMAKE_CXX_FLAGS_INIT " -bt=dos -xs")
macro(__dos_open_watcom lang)
if(NOT CMAKE_${lang}_STANDARD_INCLUDE_DIRECTORIES)
set(CMAKE_${lang}_STANDARD_INCLUDE_DIRECTORIES $ENV{WATCOM}/h)
endif()
endmacro()