|
@@ -88,6 +88,13 @@ add_executable(try-re try-re.c)
|
|
|
add_executable(ansi-color ansi-color.c)
|
|
|
add_executable(ansi-to-src ansi-to-src.cpp utils.cpp)
|
|
|
|
|
|
-add_executable(images images.cpp utils.cpp)
|
|
|
+add_executable(images images.cpp utils.cpp images.h)
|
|
|
target_link_libraries(images zf_log)
|
|
|
|
|
|
+
|
|
|
+add_custom_command(
|
|
|
+ OUTPUT images.h
|
|
|
+ COMMAND ./build_images.sh
|
|
|
+ DEPENDS ansi-to-src
|
|
|
+ COMMENT "Generating images.h."
|
|
|
+)
|