Mercurial > hg > Gears > GearsAgda
annotate src/allocate/CMakeLists.txt @ 8:714d0ce1efd7
change configuring directory
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 01 Apr 2015 22:56:51 +0900 |
parents | src/CMakeLists.txt@cd262e34ac1a |
children | 14c604cfa711 |
rev | line source |
---|---|
4 | 1 cmake_minimum_required(VERSION 2.8) |
8
714d0ce1efd7
change configuring directory
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
4
diff
changeset
|
2 |
714d0ce1efd7
change configuring directory
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
4
diff
changeset
|
3 # compile option |
4 | 4 add_definitions("-Wall -g -O0") |
8
714d0ce1efd7
change configuring directory
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
4
diff
changeset
|
5 #add_library(allocate_lib STATIC allocate.c) |
714d0ce1efd7
change configuring directory
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
4
diff
changeset
|
6 add_executable(allocate |
714d0ce1efd7
change configuring directory
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
4
diff
changeset
|
7 allocate_test.c |
714d0ce1efd7
change configuring directory
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
4
diff
changeset
|
8 ) |
714d0ce1efd7
change configuring directory
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
4
diff
changeset
|
9 #target_link_libraries(allocate allocate_lib) |
714d0ce1efd7
change configuring directory
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
4
diff
changeset
|
10 set(CMAKE_C_COMPILER $ENV{CbC_Clang}/clang) |