mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 19:49:36 +00:00
b47f9eb55d
Summary: * The Python header generator has been removed. * Docs giving a highlevel overview of the header gen scheme have been added. Reviewers: phosek, abrachet Subscribers: mgorny, MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D70197
26 lines
704 B
CMake
26 lines
704 B
CMake
cmake_minimum_required(VERSION 3.4.3)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
|
|
|
|
# The top-level source directory of libc.
|
|
set(LIBC_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
|
# The top-level directory in which libc is being built.
|
|
set(LIBC_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
# Path libc/scripts directory.
|
|
set(LIBC_BUILD_SCRIPTS_DIR "${LIBC_SOURCE_DIR}/utils/build_scripts")
|
|
|
|
|
|
set(LIBC_TARGET_OS ${CMAKE_SYSTEM_NAME})
|
|
string(TOLOWER ${LIBC_TARGET_OS} LIBC_TARGET_OS)
|
|
|
|
set(LIBC_TARGET_MACHINE ${CMAKE_SYSTEM_PROCESSOR})
|
|
|
|
include(CMakeParseArguments)
|
|
include(LLVMLibCRules)
|
|
|
|
add_subdirectory(include)
|
|
add_subdirectory(src)
|
|
add_subdirectory(lib)
|
|
add_subdirectory(utils)
|