-
Notifications
You must be signed in to change notification settings - Fork 17
/
CMakeLists.txt
36 lines (28 loc) · 918 Bytes
/
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
# 3.13 for target_link_directories.
cmake_minimum_required(VERSION 3.13)
# Define project.
project(
USDPluginExamples
VERSION 0.0.0
DESCRIPTION "A collection of example plugins for Pixar's USD (Universal Scene Description)."
LANGUAGES CXX
)
# Discover cmake modules.
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
${CMAKE_CURRENT_SOURCE_DIR}/cmake/
${CMAKE_CURRENT_SOURCE_DIR}/cmake/packages
)
# Exposes build options (with default values) for this project.
include(Options)
# Set project defaults.
include(Defaults)
# Import the package dependencies (USD, TBB, ...).
include(Packages)
# Include USD plugin building CMake utilities.
include(USDPluginTools)
# Recurse into source tree.
add_subdirectory(src)
# Export targets and install package files.
# This must come after source tree recursion as exporting targets
# requires the targets to be defined in the first place!
include(Export)