Mercurial > hg > GearsTemplate
comparison src/parallel_execution/CMakeLists.txt @ 191:a56527f4948c parallel_execution
fix CMaleLists.txt
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Dec 2016 17:50:00 +0900 |
parents | 9e139a340bd1 |
children |
comparison
equal
deleted
inserted
replaced
190:a355ccce9d4d | 191:a56527f4948c |
---|---|
1 cmake_minimum_required(VERSION 2.8) | 1 cmake_minimum_required(VERSION 2.8) |
2 | 2 |
3 add_definitions("-Wall -g -O0") | 3 # -DUSE_CUDA |
4 # add_definitions("-Wall -g -O") | |
5 add_definitions("-Wall -g") | |
4 | 6 |
5 set(CMAKE_C_COMPILER $ENV{CbC_Clang}/clang) | 7 set(CMAKE_C_COMPILER $ENV{CBC_COMPILER}) |
6 | 8 |
7 add_executable(bitonic_sort | 9 |
10 add_custom_command ( | |
11 OUTPUT c/enumCode.h | |
12 COMMAND "perl" "generate_context.pl" | |
13 ) | |
14 | |
15 | |
16 add_executable(twice | |
8 main.c | 17 main.c |
9 context.c | 18 context.c |
10 rb_tree.c | 19 rb_tree.c |
11 stack.c | 20 stack.c |
12 origin_cs.c | 21 origin_cs.c |
13 allocate.c | 22 allocate.c |
14 compare.c | 23 compare.c |
24 worker.c | |
25 dependency.c | |
26 time.c | |
27 twice.c | |
28 c/enumCode.h | |
15 ) | 29 ) |
16 | 30 |