-
Notifications
You must be signed in to change notification settings - Fork 34
/
CMakeLists.txt
46 lines (38 loc) · 2.05 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#------------------------------------------------------------------------------#
# Copyright (c) 2014 Los Alamos National Security, LLC
# All rights reserved.
#------------------------------------------------------------------------------#
################################################################################
# Please Do Not Edit This File Unless You Know What You Are Doing!!!
#
# Project-specific configuration rules should be added in the 'config'
# subdirectory of the top-level of this project in the appropriate file,
# e.g., package configuration options should go in 'config/packages.cmake'.
#
# For more documentation on the design philosophy of this build system
# and the recognized configuration files that can be added to the 'config'
# subdirectory, please look in 'cinch/README.md' and 'cinch/INSTALL.md'
# from the top-level of this project.
#
# Any changes to the basic build template should be discussed with the
# project maintainers.
################################################################################
#------------------------------------------------------------------------------#
# Require some version of cmake
#------------------------------------------------------------------------------#
cmake_minimum_required(VERSION 3.12)
#------------------------------------------------------------------------------#
# Include project-level CMake configuration file
#------------------------------------------------------------------------------#
if(NOT "$ENV{CINCH_SOURCE_DIR}" STREQUAL "")
set(CINCH_SOURCE_DIR $ENV{CINCH_SOURCE_DIR})
elseif(EXISTS ${CMAKE_SOURCE_DIR}/cinch)
set(CINCH_SOURCE_DIR ${CMAKE_SOURCE_DIR}/cinch)
endif()
# enable project folder support (useful for VS, XCode, etc.)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
include(${CINCH_SOURCE_DIR}/cmake/ProjectLists.txt)
#------------------------------------------------------------------------------#
# Formatting options for emacs and vim.
# vim: set tabstop=4 shiftwidth=4 expandtab :
#------------------------------------------------------------------------------#