OMS-Auditd-Plugin/build/x86_64.cmake

20 строки
775 B
CMake

SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_PROCESSOR x86_64)
# specify the cross compiler
SET(CMAKE_C_COMPILER /opt/x-tools/x86_64-msft-linux-gnu/bin/x86_64-msft-linux-gnu-gcc)
SET(CMAKE_CXX_COMPILER /opt/x-tools/x86_64-msft-linux-gnu/bin/x86_64-msft-linux-gnu-g++)
SET(OBJCOPY /opt/x-tools/x86_64-msft-linux-gnu/bin/x86_64-msft-linux-gnu-objcopy)
# where is the target environment
SET(CMAKE_FIND_ROOT_PATH /opt/x-tools/x86_64-msft-linux-gnu)
# search for programs in the build host directories
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
# for libraries and headers in the target directories
#SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
#SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
#set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
# end of the file