Mercurial > hg > GearsTemplate
changeset 188:6ab77dec8b6a
add command execution in CMakeList.txt
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Dec 2016 13:05:03 +0900 |
parents | bacc37265386 |
children | 39d87ba6039d |
files | src/parallel_execution/CMakeLists.txt |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 )