diff options
author | Michael Mann <mmann78@netscape.net> | 2019-01-01 12:17:55 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2019-02-18 00:49:51 +0000 |
commit | e797e751746858eed7231767ac3e244e46ea5840 (patch) | |
tree | 16226f6bea46af20b532c1dda9ba08db7bb7521a /epan/dfilter | |
parent | 9f75af5b2596c08fc32484d18d80c09245f177e8 (diff) |
Include epan header files in VS solution.
Add header files lists to add_library() so that Visual Studio can pick them
up and include them in a "Header Files" folder for easier navigation within
Visual Studio.
Change-Id: I7cd8e39550f4db67eed8205593060ae8b4a5b1b9
Reviewed-on: https://code.wireshark.org/review/31289
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dfilter')
-rw-r--r-- | epan/dfilter/CMakeLists.txt | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/epan/dfilter/CMakeLists.txt b/epan/dfilter/CMakeLists.txt index 14fcd63a6a..ef584e58e7 100644 --- a/epan/dfilter/CMakeLists.txt +++ b/epan/dfilter/CMakeLists.txt @@ -19,6 +19,23 @@ set(DFILTER_PUBLIC_HEADERS drange.h ) +set(DFILTER_HEADER_FILES + ${DFILTER_PUBLIC_HEADERS} + dfilter-int.h + dfilter-macro.h + dfilter.h + dfunctions.h + dfvm.h + drange.h + gencode.h + semcheck.h + sttype-function.h + sttype-range.h + sttype-set.h + sttype-test.h + syntax-tree.h +) + set(DFILTER_NONGENERATED_FILES dfilter.c dfilter-macro.c @@ -58,7 +75,13 @@ set_source_files_properties( COMPILE_FLAGS "${WERROR_COMMON_FLAGS}" ) -add_library(dfilter OBJECT ${DFILTER_FILES}) +add_library(dfilter OBJECT + + #Included so that Visual Studio can properly put header files in solution + ${DFILTER_HEADER_FILES} + + ${DFILTER_FILES} +) set_target_properties(dfilter PROPERTIES FOLDER "Libs/epan/dfilter" |