Skip to content

mitsuba-renderer/cmake-defaults

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

cmake-defaults

This repository establishes a standard build environment for RGL projects including at least the following:

Usage

Include as a Git submodule and include() after having declared the CMake minimum version, project name, and build options.

cmake_minimum_required(VERSION 3.13...3.18)

project(sjit
  DESCRIPTION "Struct-JIT"
  LANGUAGES CXX
)

option(SJIT_ENABLE_PYTHON "Build Python extension library?" ON)
# Other options here

include(ext/cmake-defaults/CMakeLists.txt)