Improved selecting of samples to compile

This commit is contained in:
Sit Melai 2019-03-30 19:29:39 +01:00
parent 058197ac16
commit 6c94e3ad92
2 changed files with 13 additions and 8 deletions

View file

@ -12,7 +12,7 @@ IF(WITH_NET)
ADD_SUBDIRECTORY(net) ADD_SUBDIRECTORY(net)
ENDIF() ENDIF()
IF(WITH_PACS) IF(WITH_PACS AND WITH_3D)
ADD_SUBDIRECTORY(pacs) ADD_SUBDIRECTORY(pacs)
ENDIF() ENDIF()

View file

@ -1,11 +1,16 @@
ADD_SUBDIRECTORY(chat) ADD_SUBDIRECTORY(chat)
IF(WITH_3D)
ADD_SUBDIRECTORY(udp) ADD_SUBDIRECTORY(udp)
ENDIF()
ADD_SUBDIRECTORY(login_system) ADD_SUBDIRECTORY(login_system)
ADD_SUBDIRECTORY(class_transport) ADD_SUBDIRECTORY(class_transport)
#multi_shards
#net_layer3 #ADD_SUBDIRECTORY(multi_shards)
#net_layer4 #ADD_SUBDIRECTORY(net_layer3)
#net_layer5 #ADD_SUBDIRECTORY(net_layer4)
#service #ADD_SUBDIRECTORY(net_layer5)
#udp_ping #ADD_SUBDIRECTORY(service)
#ADD_SUBDIRECTORY(udp_ping)