# See the end of this file for copyright and license terms. cmake_minimum_required(VERSION 3.14.0) project(gaybsd VERSION 0.1.0 LANGUAGES C ASM) set(CMAKE_C_STANDARD 11) set(CMAKE_C_EXTENSIONS OFF) if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) set_property(GLOBAL PROPERTY USE_FOLDERS ON) endif() include(cmake/config.cmake) add_library(gaybsd INTERFACE) set(GAY_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/arch/${ARCH}/include ${CMAKE_CURRENT_BINARY_DIR}/include ) set(GAY_COMPILE_OPTIONS -nodefaultlibs -nostartfiles -fno-builtin -Wall -Wno-sign-conversion -Wstrict-prototypes -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wshadow -Wsign-compare -Wunreachable-code -Wwrite-strings -Wconversion -Waggregate-return -Winline -Wcast-align ) add_subdirectory("boot/${ARCH}-${BOOT_TYPE}") # This file is part of GayBSD. # Copyright (c) 2021 fef . # # GayBSD is nonviolent software: you may only use, redistribute, and/or # modify it under the terms of the Cooperative Nonviolent Public License # (CNPL) as found in the LICENSE file in the source code root directory # or at ; either version 7 # of the license, or (at your option) any later version. # # GayBSD comes with ABSOLUTELY NO WARRANTY, to the extent # permitted by applicable law. See the CNPL for details.