diff src/insert_verification/CMakeLists.txt @ 2:9815b09dc853

Sample which uses llrb library in Gears
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Fri, 11 Mar 2016 19:24:34 +0900
parents a13620720e35
children c80e44ac8f5e
line wrap: on
line diff
--- a/src/insert_verification/CMakeLists.txt	Fri Mar 11 18:26:52 2016 +0900
+++ b/src/insert_verification/CMakeLists.txt	Fri Mar 11 19:24:34 2016 +0900
@@ -1,4 +1,18 @@
 cmake_minimum_required(VERSION 3.3)
 
+# import LLRB from Gears
+set(llrb_path $ENV{GEARS_PATH}/src/llrb)
+
+include_directories(include)
+include_directories($ENV{GEARS_PATH}/src/include)
+include_directories(${llrb_path}/include)
 add_executable(insert_verification
-               main.c)
+               main.c
+               ${llrb_path}/llrb.c
+               ${llrb_path}/llrbContext.c # TODO: create file in akasha
+               ${llrb_path}/allocate.c    # TODO: create file in akasha
+               ${llrb_path}/compare.c     # TODO: create file in akasha
+               ${llrb_path}/origin_cs.c   # TODO: create file in akasha
+               ${llrb_path}/stack.c       # TODO: create file in akasha
+              )
+