From eca571a0069894d411abcb1176f4b30e1e015c60 Mon Sep 17 00:00:00 2001 From: Frederic Marchal Date: Thu, 5 Mar 2015 15:28:12 +0100 Subject: [PATCH] List the header files in cmake QtCreator needs the header files to be listed in the source variable to display them in its project tree when the cmake project is imported. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e35816..c3b3f33 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,8 @@ SET(SRC util.c log.c report.c topuser.c email.c sort.c html.c dansguardian_log.c dansguardian_report.c realtime.c btree_cache.c usertab.c userinfo.c longline.c url.c fnmatch.c stringbuffer.c filelist.c readlog.c alias.c - readlog_squid.c readlog_sarg.c readlog_extlog.c readlog_common.c) + readlog_squid.c readlog_sarg.c readlog_extlog.c readlog_common.c + include/conf.h include/info.h include/defs.h) FOREACH(f ${SRC}) ADD_FILE_DEPENDENCIES(${f} ${CMAKE_BINARY_DIR}/config.h ${CMAKE_SOURCE_DIR}/include/conf.h ${CMAKE_SOURCE_DIR}/include/info.h ${CMAKE_SOURCE_DIR}/include/defs.h) -- 2.47.2