# HG changeset patch # User Shinji KONO # Date 1481861103 -32400 # Node ID 6ab77dec8b6a12bad176e4ce816ad795c84436ad # Parent bacc372653865e31b32f66595fa8f8765ca5fa54 add command execution in CMakeList.txt diff -r bacc37265386 -r 6ab77dec8b6a src/parallel_execution/CMakeLists.txt --- a/src/parallel_execution/CMakeLists.txt Thu Dec 15 19:51:40 2016 +0900 +++ b/src/parallel_execution/CMakeLists.txt Fri Dec 16 13:05:03 2016 +0900 @@ -6,6 +6,13 @@ set(CMAKE_C_COMPILER $ENV{CBC_COMPILER}) + +add_custom_command ( + OUTPUT c/enumCode.h + COMMAND "perl" "generate_context.pl" +) + + add_executable(twice main.c context.c @@ -18,5 +25,6 @@ dependency.c time.c twice.c + c/enumCode.h )