1# 2# Copyright 2019, Data61, CSIRO (ABN 41 687 119 230) 3# 4# SPDX-License-Identifier: BSD-2-Clause 5# 6 7# Define our top level settings. Whilst they have doc strings for readability 8# here, they are hidden in the cmake-gui as they cannot be reliably changed 9# after the initial configuration. Enterprising users can still change them if 10# they know what they are doing through advanced mode. 11# 12# Users should initialize a build directory by doing something like: 13# 14# mkdir build_sabre 15# cd build_sabre 16# 17# Then 18# 19# ../griddle --PLATFORM=sabre --SIMULATION 20# ninja 21# 22set(CAMKES_APP "adder" CACHE STRING "CAmkES application to build") 23set(SIMULATION ON CACHE BOOL "Try and use simulable features") 24set(RELEASE OFF CACHE BOOL "Performance optimized build") 25set(PLATFORM "x86_64" CACHE STRING "Platform to use") 26