summarylogtreecommitdiffstats
path: root/CMakePresets.json
blob: 65630bfab79217c6fcbc7dd1a6f64fb178e434ea (plain)
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
47
{
    "version": 4,
    "configurePresets": [
        {
            "name": "arch-environment",
            "hidden": false,
            "environment": {
                "DEPS_ROOT"                     : "/usr",
                "BUILD_DIR"                     : "build",
                "CPPUNIT_ROOT"                  : "$env{DEPS_ROOT}",
                "ISPC"                          : "$env{DEPS_ROOT}/bin/ispc",
                "JSONCPP_ROOT"                  : "$env{DEPS_ROOT}",
                "LIBCURL_ROOT"                  : "/usr",
                "LIBUNWIND_ROOT"                : "/usr",
                "LOG4CPLUS_ROOT"                : "$env{DEPS_ROOT}",
                "LUA_DIR"                       : "$env{DEPS_ROOT}",
                "OPENSUBDIV_ROOT"               : "$env{DEPS_ROOT}",
                "OPENVDB_ROOT"                  : "$env{DEPS_ROOT}",
                "OPTIX_ROOT"                    : "/opt/optix",
                "PXR_USD_LOCATION"              : "$env{DEPS_ROOT}/share/usd",
                "PXR_INCLUDE_DIRS"              : "$env{DEPS_ROOT}/include",
                "RANDOM123_ROOT"                : "$env{DEPS_ROOT}",
                "ZLIB_ROOT"                     : "/usr",
                "pxr_ROOT"                      : "$env{DEPS_ROOT}/share/usd",
                "TBB_ROOT"                      : "$env{DEPS_ROOT}"
            },
            "cacheVariables": {
                "CMAKE_PREFIX_PATH": "$env{DEPS_ROOT}"
            }
        },
        {
            "name": "arch-package",
            "displayName": "Arch Linux Release",
            "inherits": "arch-environment",
            "binaryDir": "${sourceParentDir}/build-release/${sourceDirName}",
            "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" },
            "generator": "Unix Makefiles"
        }
    ],
    "buildPresets": [
        {
            "name": "arch-package",
            "displayName": "Package for Arch Linux",
            "configurePreset": "arch-package"
        }
    ]
}