annotate CMakeLists.txt @ 196:fe271d482151

remove_dump_interface_data
author anatofuz
date Wed, 22 Jan 2020 18:47:46 +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)