Switching off net audio stream server include via preproc flag

parent cfeb69df
......@@ -73,6 +73,7 @@ include( "src/_SourceFiles.cmake" )
if( ITA_VANET_WITH_NETAUDIO_STREAM_SERVER_EXTENSION )
vista_use_package( ITADataSources REQUIRED FIND_DEPENDENCIES )
list( APPEND ProjectSources "src/VANetAudioStreamServer.cpp;src/VANetAudioStreamServerImpl.cpp;src/VANetAudioStreamServerImpl.h" )
add_definitions( -DVANET_WITH_NETAUDIO_STREAM_SERVER )
endif( )
include_directories( "include" )
......
......@@ -48,10 +48,13 @@ If you want to provide a VA server connection, have a look at #IVANetServer.
#define IW_VANET
#include "VANetDefinitions.h"
#include "VANetAudioStreamServer.h"
#include "VANetClient.h"
#include "VANetServer.h"
#include "VANetUtils.h"
#include "VANetVersion.h"
#ifdef VANET_WITH_NETAUDIO_STREAM_SERVER
#include "VANetAudioStreamServer.h"
#endif
#endif // IW_VANET
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment