view CMakeLists.txt @ 69:f236eba62a76

off-the-shelf cmakefile
author anatofuz
date Sun, 28 Jul 2019 20:03:15 +0900
parents 087d7b61c86b
children
line wrap: on
line source

cmake_minimum_required(VERSION 3.3)

# output compile log
set(CMAKE_VERBOSE_MAKEFILE 1)

# set compiler
set(CMAKE_C_COMPILER $ENV{CBC_COMPILER})

# compile option
add_definitions("-Wall -g -O0")

add_subdirectory(src)