Changeset 183 for osgVisual/trunk/CMakeLists.txt
- Timestamp:
- Jan 7, 2011, 5:41:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/CMakeLists.txt
r181 r183 195 195 196 196 # Module cluster 197 SET(SOURCES 198 ${SOURCES} 199 include/cluster/dataIO_cluster.h 200 include/cluster/dataIO_clusterDummy.h 201 src/cluster/dataIO_clusterDummy.cpp 202 ) 197 203 SET(USE_CLUSTER_ASIO_TCP_IOSTREAM OFF CACHE BOOL "Enable to use the Boost ASIO TCP iostream implementation for the cluster interface") 198 204 SET(USE_CLUSTER_ENET ON CACHE BOOL "Enable to use the ENet reliable UDP library implementation for the cluster interface") … … 200 206 SET(SOURCES 201 207 ${SOURCES} 202 include/cluster/dataIO_cluster.h203 208 include/cluster/dataIO_clusterAsioTcpIostream.h 204 209 src/cluster/dataIO_clusterAsioTcpIostream.cpp … … 218 223 SET(SOURCES 219 224 ${SOURCES} 220 include/cluster/dataIO_cluster.h221 225 include/cluster/dataIO_clusterENet.h 222 226 src/cluster/dataIO_clusterENet.cpp … … 242 246 include/cluster/enet/win32.h 243 247 ) 244 ADD_DEFINITIONS( "-DUSE_CLUSTER_ENET" ) 245 246 ENDIF() 247 248 IF(NOT USE_CLUSTER_ASIO_TCP_IOSTREAM AND NOT USE_CLUSTER_ENET) 249 SET(SOURCES 250 ${SOURCES} 251 include/cluster/dataIO_cluster.h 252 include/cluster/dataIO_clusterDummy.h 253 src/cluster/dataIO_clusterDummy.cpp 254 ) 255 ADD_DEFINITIONS( "-DUSE_CLUSTER_DUMMY" ) 256 ENDIF() 248 ADD_DEFINITIONS( "-DUSE_CLUSTER_ENET" ) 249 ENDIF() 250 251 257 252 258 253 … … 260 255 SET(SOURCES 261 256 ${SOURCES} 257 include/extLink/dataIO_extLinkDummy.h 258 src/extLink/dataIO_extLinkDummy.cpp 262 259 include/extLink/dataIO_extLink.h 263 260 include/extLink/manip_extLink.h … … 277 274 #Linking: VCL uses #pragma to link, no need for linking configuration in CMAKE 278 275 ELSE(USE_EXTLINK_VCL) 279 SET(SOURCES280 ${SOURCES}281 include/extLink/dataIO_extLinkDummy.h282 src/extLink/dataIO_extLinkDummy.cpp283 )284 276 UNSET(EXTLINK_VCL_INCLUDE_DIR CACHE) 285 ADD_DEFINITIONS( "-DUSE_EXTLINK_DUMMY" )286 277 ENDIF(USE_EXTLINK_VCL) 287 278 ELSE(WIN32) 288 279 UNSET(EXTLINK_VCL_INCLUDE_DIR CACHE) 289 SET(SOURCES 290 ${SOURCES} 291 include/extLink/dataIO_extLinkDummy.h 292 src/extLink/dataIO_extLinkDummy.cpp 293 ) 294 ADD_DEFINITIONS( "-DUSE_EXTLINK_DUMMY" ) 280 281 295 282 ENDIF(WIN32) 296 283
Note: See TracChangeset
for help on using the changeset viewer.