浏览代码

Removed dependencies on source files not needed.

bugz 4 年之前
父节点
当前提交
52d9982c9d
共有 2 个文件被更改,包括 1 次插入4 次删除
  1. 1 1
      CMakeLists.txt
  2. 0 3
      images.cpp

+ 1 - 1
CMakeLists.txt

@@ -88,6 +88,6 @@ 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 render.cpp terminal.cpp utils.cpp)
+add_executable(images images.cpp utils.cpp)
 target_link_libraries(images zf_log)
 

+ 0 - 3
images.cpp

@@ -22,9 +22,6 @@ public:
 
 IConv converter("UTF-8", "CP437");
 
-#include "terminal.h"
-struct console_details console;
-
 char display_line(char *line) {
   char output[1024];
   int len;