From: Leo Li Date: Fri, 1 Sep 2017 01:05:59 +0000 (+0000) Subject: [CMake] Add more runtime configurations. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59cb965ee9d7da460d24607300a4fb5ad6a683d7;p=llvm [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312302 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index 07d5cd3d682..9ae755361ed 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -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.