Server IP : 51.89.169.208 / Your IP : 216.73.216.160 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/cmake/Modules/ |
Upload File : |
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. function(PrintTestCompilerStatus LANG) # ARGN shouldn't be needed now, but it is there to preserve backward # compatibility in case this function is called from project code or # custom toolchains (they shouldn't, but we can easily support it) message(CHECK_START "Check for working ${LANG} compiler: ${CMAKE_${LANG}_COMPILER}${ARGN}") endfunction() function(PrintTestCompilerResult TYPE MSG) message(${TYPE} "${MSG}") endfunction() # if required set the target type if not already explicitly set macro(__TestCompiler_setTryCompileTargetType) if(NOT CMAKE_TRY_COMPILE_TARGET_TYPE) if("${CMAKE_GENERATOR}" MATCHES "Green Hills MULTI") #prefer static libraries to avoid linking issues set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) set(__CMAKE_TEST_COMPILER_TARGET_TYPE_RESTORE 1) endif() endif() endmacro() # restore the original value # -- not necessary if __TestCompiler_setTryCompileTargetType() was used in function scope macro(__TestCompiler_restoreTryCompileTargetType) if(__CMAKE_TEST_COMPILER_TARGET_TYPE_RESTORE) unset(CMAKE_TRY_COMPILE_TARGET_TYPE) unset(__CMAKE_TEST_COMPILER_TARGET_TYPE_RESTORE) endif() endmacro()