annotate src/CMakeLists.txt @ 17:1eb599acffe4

modify allocate
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 21 Apr 2015 02:28:57 +0900
parents 88a4a95f5485
children 9302b1a48008
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 cmake_minimum_required(VERSION 2.8)
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
17
1eb599acffe4 modify allocate
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
3 # output compile log
1eb599acffe4 modify allocate
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
4 set(CMAKE_VERBOSE_MAKEFILE 1)
1eb599acffe4 modify allocate
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
5
9
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 # set compiler
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 set(CMAKE_C_COMPILER $ENV{CbC_Clang}/clang)
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 # compile option
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 add_definitions("-Wall -g -O0")
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 include_directories(include)
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
14c604cfa711 modify directories
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 add_subdirectory(allocate)
10
88a4a95f5485 create list
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
15 add_subdirectory(list)