Wireshark-commits: [Wireshark-commits] master 39a6599: CMake: Exclude test targets from the default

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 07 Mar 2018 23:27:18 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=39a65995ccaa45322b7ee870fe21a0daa6157242
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

39a6599 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    CMake: Exclude test targets from the default build.
    
    For the Visual Studio generator, setting the EXCLUDE_FROM_ALL property on
    a target excludes it from ALL_BUILD.vcxproj, but we additionally need
    to set EXCLUDE_FROM_DEFAULT_BUILD to exclude it from Wireshark.sln.
    Do so for the test targets.
    
    Change-Id: Icd328f75d4927e5b7bb65b1833da4724f63476b6
    Reviewed-on: https://code.wireshark.org/review/26345
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  eefa76a   address_types: fix returned length of eui64_addr_to_str
    adds  39a6599   CMake: Exclude test targets from the default build.


Summary of changes:
 CMakeLists.txt      | 30 ++++++++++++++++++------------
 epan/CMakeLists.txt |  4 ++++
 2 files changed, 22 insertions(+), 12 deletions(-)