changeset 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 a355ccce9d4d
children 0b266280ed72
files src/parallel_execution/CMakeLists.txt
diffstat 1 files changed, 17 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/parallel_execution/CMakeLists.txt	Fri Dec 16 17:43:58 2016 +0900
+++ b/src/parallel_execution/CMakeLists.txt	Fri Dec 16 17:50:00 2016 +0900
@@ -1,10 +1,19 @@
 cmake_minimum_required(VERSION 2.8)
 
-add_definitions("-Wall -g -O0")
+# -DUSE_CUDA
+#  add_definitions("-Wall -g -O")
+add_definitions("-Wall -g")
+
+set(CMAKE_C_COMPILER $ENV{CBC_COMPILER})
 
-set(CMAKE_C_COMPILER $ENV{CbC_Clang}/clang)
+ 
+add_custom_command (
+      OUTPUT    c/enumCode.h
+      COMMAND  "perl" "generate_context.pl"
+)
 
-add_executable(bitonic_sort
+
+add_executable(twice
                main.c
                context.c
                rb_tree.c
@@ -12,5 +21,10 @@
                origin_cs.c
                allocate.c
                compare.c
+               worker.c
+               dependency.c
+               time.c
+               twice.c
+               c/enumCode.h
 )