diff options
author | Graham Bloice <graham.bloice@trihedral.com> | 2013-10-13 09:21:55 +0000 |
---|---|---|
committer | Graham Bloice <graham.bloice@trihedral.com> | 2013-10-13 09:21:55 +0000 |
commit | 9c4ee86784bd0f5cb02f7e7b7af639438352d83b (patch) | |
tree | bfaca5c6711a3f6ba372e99804a95240069f320d /epan/CMakeLists.txt | |
parent | f5decf57f10d7d71410b431b4416ef719f05496a (diff) |
Add CMake properties to targets so that they are logically organised when using a Visual Studio solution.
Add CMake properties to group the source files in epan into logical blocks when using a Visual Studio solution.
svn path=/trunk/; revision=52580
Diffstat (limited to 'epan/CMakeLists.txt')
-rw-r--r-- | epan/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/CMakeLists.txt b/epan/CMakeLists.txt index 25fd2ff0aa..6d1c2a5974 100644 --- a/epan/CMakeLists.txt +++ b/epan/CMakeLists.txt @@ -24,9 +24,12 @@ if (HAVE_LIBLUA) include( wslua/CMakeLists.txt ) endif() +source_group(wslua FILES ${WSLUA_FILES}) + if (HAVE_LIBPYTHON) include( wspython/CMakeLists.txt ) endif() +source_group(wspython FILES ${WSPYTHON_FILES}) add_subdirectory( dissectors/dcerpc ) @@ -46,6 +49,7 @@ set(CRYPT_FILES crypt/airpdcap_rijndael.c crypt/airpdcap_tkip.c ) +source_group(crypt FILES ${CRYPT_FILES}) set(DFILTER_FILES dfilter/dfilter.c @@ -63,6 +67,7 @@ set(DFILTER_FILES dfilter/sttype-test.c dfilter/syntax-tree.c ) +source_group(dfilter FILES ${DFILTER_FILES}) set(DFILTER_CLEAN_FILES ${DFILTER_FILES} @@ -1338,6 +1343,7 @@ set(DISSECTOR_SUPPORT_SRC dissectors/usb.c register.c ) +source_group(dissector-support FILES ${DISSECTOR_SUPPORT_SRC}) set(LIBWIRESHARK_ASM_FILES asm_utils.c @@ -1363,6 +1369,7 @@ set(DISSECTOR_FILES ${ASN1_DISSECTOR_SRC} ${DIRTY_ASN1_DISSECTOR_SRC} ) +source_group(dissectors FILES ${DISSECTOR_FILES}) register_dissector_files(register.c dissectors @@ -1383,6 +1390,7 @@ set(FTYPE_FILES ftypes/ftype-time.c ftypes/ftype-tvbuff.c ) +source_group(ftype FILES ${FTYPE_FILES}) set(WMEM_FILES wmem/wmem_array.c @@ -1399,6 +1407,7 @@ set(WMEM_FILES wmem/wmem_tree.c wmem/wmem_user_cb.c ) +source_group(wmem FILES ${WMEM_FILES}) ADD_CUSTOM_COMMAND( OUTPUT @@ -1652,6 +1661,7 @@ add_custom_target(dumpabi-libwireshark DEPENDS libwireshark.abi.tar.gz) # By default the name for a library with target name epan will be libepan, # but Ethereal is now named Wireshark SET_TARGET_PROPERTIES(epan PROPERTIES OUTPUT_NAME "wireshark") +set_target_properties(epan PROPERTIES FOLDER "DLLs") target_link_libraries(epan ${epan_LIBS}) |