Created
February 28, 2023 21:26
-
-
Save pcercuei/afba6ec220da3097ebb944d369942cf2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(CMAKE_SYSTEM_NAME Generic) | |
set(CMAKE_SYSTEM_VERSION 1) | |
set(CMAKE_SYSTEM_PROCESSOR sh4) | |
if (NOT DEFINED CMAKE_SYSROOT) | |
set(CMAKE_SYSROOT $ENV{KOS_PORTS}) | |
endif() | |
if (NOT DEFINED CMAKE_FIND_ROOT_PATH) | |
#set(CMAKE_FIND_ROOT_PATH $ENV{KOS_BASE}) | |
endif() | |
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | |
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) | |
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | |
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) | |
set(ENV{PKG_CONFIG_SYSROOT_DIR} $ENV{KOS_PORTS}) | |
set(CMAKE_C_COMPILER $ENV{KOS_CC}) | |
set(CMAKE_CXX_COMPILER $ENV{KOS_CCPLUS}) | |
set(CMAKE_LINKER $ENV{KOS_CC}) | |
set(TARGET_SUPPORTS_SHARED_LIBS FALSE) | |
if (NOT DEFINED CMAKE_INSTALL_PREFIX) | |
set(CMAKE_INSTALL_PREFIX /) | |
endif() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment