annotate CMakeLists.txt @ 92:bc5bcfd2f6d6

rename CbCFile to CbCSysFile
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sat, 19 Oct 2019 16:44:24 +0900
parents 087d7b61c86b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
41
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
1 cmake_minimum_required(VERSION 3.3)
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
2
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
3 # output compile log
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
4 set(CMAKE_VERBOSE_MAKEFILE 1)
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
5
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
6 # set compiler
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
7 set(CMAKE_C_COMPILER $ENV{CBC_COMPILER})
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
8
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
9 # compile option
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
10 add_definitions("-Wall -g -O0")
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
11
087d7b61c86b cbc cmake version
kono
parents:
diff changeset
12 add_subdirectory(src)