From ecd533babdfb35b18b39e1da52da1b9a25701fb5 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 6 Apr 2014 02:47:40 +0900 Subject: [PATCH] run piclib generator at cmake run --- src/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 93af4e22..65f58f6d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,6 +6,12 @@ set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${PROJECT_SOURCE # xfile set(XFILE_SOURCES extlib/xfile/xfile.c) +# piclib +execute_process( + COMMAND python etc/libemb.py + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} + ) + # build! file(GLOB PICRIN_SOURCES ${PROJECT_SOURCE_DIR}/src/*.c) add_library(picrin SHARED ${PICRIN_SOURCES} ${FLEX_scan_OUTPUTS} ${XFILE_SOURCES} ${PICRIN_CONTRIB_SOURCES})