beltegeuse / cmake-defaults

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About


Languages

Language:CMake 100.0%