From dc908733eaf62b0a3506dca52f2412b92a6cbf7c Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 17 Dec 2012 21:24:22 +0000 Subject: Add libui_dirty. svn path=/trunk/; revision=46575 --- ui/CMakeLists.txt | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'ui/CMakeLists.txt') diff --git a/ui/CMakeLists.txt b/ui/CMakeLists.txt index 003ccc3fc1..201bb7f738 100644 --- a/ui/CMakeLists.txt +++ b/ui/CMakeLists.txt @@ -35,17 +35,20 @@ set(COMMON_UI_SRC util.c ) -set(CLEAN_FILES - ${COMMON_UI_SRC} -) +set(DIRTY_UI_SRC) -add_lex_files(COMMON_UI_SRC +add_lex_files(DIRTY_UI_SRC text_import_scanner.l ) +set(CLEAN_FILES + ${COMMON_UI_SRC} + ${DIRTY_UI_SRC} +) + if (WERROR) set_source_files_properties( - ${CLEAN_FILES} + ${COMMON_UI_SRC} PROPERTIES COMPILE_FLAGS -Werror ) @@ -57,3 +60,9 @@ add_library(ui STATIC ) set_target_properties(ui PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") + +add_library(ui_dirty STATIC + ${DIRTY_UI_SRC} +) + +set_target_properties(ui_dirty PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") -- cgit v1.2.3