# src/api/internal/io
# ==========================
-set ( InternalIODir "${InternalDir}/io" )
+set( InternalIODir "${InternalDir}/io" )
#--------------------------
# platform-independent IO
#--------------------------
-set ( CommonIOSources
+set( CommonIOSources
${InternalIODir}/BamDeviceFactory_p.cpp
${InternalIODir}/BamFile_p.cpp
${InternalIODir}/BamFtp_p.cpp
#------------------------
# platform-dependent IO
#------------------------
-if ( _WIN32 )
- set ( PlatformIOSources
- ${InternalIODir}/TcpSocketEngine_win_p.cpp
- )
-else ( _WIN32 )
- set ( PlatformIOSources
- ${InternalIODir}/TcpSocketEngine_unix_p.cpp
- )
-endif ( _WIN32 )
+if( WIN32 )
+ set( PlatformIOSources ${InternalIODir}/TcpSocketEngine_win_p.cpp )
+else()
+ set( PlatformIOSources ${InternalIODir}/TcpSocketEngine_unix_p.cpp )
+endif()
#---------------------------
# make build-specific list
#---------------------------
-set ( InternalIOSources
- ${CommonIOSources}
+set( InternalIOSources
+ ${CommonIOSources}
${PlatformIOSources}
PARENT_SCOPE # <-- leave this last