1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[CMake] Add more runtime configurations.

Summary:
- `project` is required when `runtime/CMakeList.txt` is the top-level `CMakeList.txt` file. This will establish version and policy settings.

- `-D_FILE_OFFSET_BITS=64` should never be set for Android runtimes.

Reviewers: srhines, pirama, beanz

Subscribers: llvm-commits, srhines, mgorny

Differential Revision: https://reviews.llvm.org/D35648

llvm-svn: 312302
This commit is contained in:
Leo Li 2017-09-01 01:05:59 +00:00
parent 7a5feae52b
commit c9f3693905

View File

@ -24,6 +24,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
endfunction()
cmake_minimum_required(VERSION 3.4.3)
project(Runtimes C CXX ASM)
# Add the root project's CMake modules, and the LLVM build's modules to the
# CMake module path.