<string>waw</string>
<string>wma</string>
</array>
- <key>CFBundleTypeIconFile</key>
- <string>document.icns</string>
- <key>CFBundleTypeName</key>
+ <key>CFBundleTypeIconFile</key>
+ <string>Viper.icns</string>
+ <key>CFBundleTypeName</key>
<string>Audio file</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<string>utf</string>
</array>
<key>CFBundleTypeIconFile</key>
- <string>document.icns</string>
+ <string>Viper.icns</string>
<key>CFBundleTypeName</key>
<string>Subtitles file</string>
<key>CFBundleTypeRole</key>
<key>CFBundleExecutable</key>
<string>@EXECUTABLE@</string>
<key>CFBundleIconFile</key>
- <string>Cisco.icns</string>
+ <string>Viper.icns</string>
<key>CFBundleIdentifier</key>
<string>com.cisco.@EXECUTABLE@</string>
<key>CFBundleInfoDictionaryVersion</key>
set(CURL_LIBRARIES "$ENV{DISTILLERY_ROOT_DIR}/usr/lib/libcurl.a" "$ENV{DISTILLERY_ROOT_DIR}/usr/lib/libcurl-library.a")
set(ANDROID_LIBRARIES "${ANDROID_NDK}/platforms/android-23/arch-arm/usr/lib/libz.a" "$ENV{NDK}/sources/cxx-stl/gnu-libstdc++/4.9/libs/$ENV{ABI}/libgnustl_shared.so" "${ANDROID_NDK}/platforms/android-23/arch-arm/usr/lib/liblog.so")
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} ${ANDROID_C_FLAGS} -std=c++0x -g -DLOG_BUILD")
+elseif (COMPILE_FOR_IOS)
+ set(CMAKE_CXX_FLAGS "-std=c++0x -g -DLOG_BUILD")
+ find_package(LibXml2 REQUIRED)
+ find_host_package(OpenSSL REQUIRED)
+ find_package(ZLIB REQUIRED)
+ find_host_package(CURL REQUIRED)
else ()
set(CMAKE_CXX_FLAGS "-std=c++0x -g -DLOG_BUILD")
find_package(LibXml2 REQUIRED)
include_directories(${CURL_INCLUDE_DIRS})
include_directories(include)
-add_library(dash SHARED ${SOURCE_FILES})
+if (COMPILE_FOR_IOS OR COMPILE_FOR_IOS_SIMULATOR)
+ add_library(dash STATIC ${SOURCE_FILES})
+else()
+ add_library(dash SHARED ${SOURCE_FILES})
+endif()
set_target_properties(dash PROPERTIES LINKER_LANGUAGE CXX)
target_link_libraries(dash ${CURL_LIBRARIES} ${ZLIB_LIBRARIES} ${CURL_LIBRARIES} ${LIBXML2_LIBRARIES} ${CURL_LIBRARIES} ${ANDROID_LIBRARIES} ${CURL_LIBRARIES})
message("libxml ${LIBXML2_LIBRARIES} ${LIBXML2_INCLUDE_DIR}")
#define __BLOCK_H__
#include "config.h"
+#include <stddef.h>
+#include <stdlib.h>
namespace dash
{
#define __BLOCKSTREAM_H__
#include "config.h"
-
+#include <stddef.h>
+#include <stdint.h>
+#include <deque>
#include "Block.h"
namespace dash
#define PATH_H_
#include "config.h"
+#include <stdlib.h>
+#include <vector>
+#include <string>
+#include <iostream>
+#include <sstream>
namespace dash
{
#define STRING_H_
#include "config.h"
+#include <string>
+#include <iostream>
+#include <sstream>
+#include <vector>
namespace dash
{
#include <time.h>
#include "config.h"
+#include <string>
namespace dash
{
macx:!ios {
+ QMAKE_INFO_PLIST = $$COMMON/Info.plist
+ ICON = $$COMMON/Viper.icns
+ QMAKE_RPATHDIR += /usr/local/lib
INCLUDEPATH += /usr/local/include
INCLUDEPATH += /usr/local/include/libdash
+ INCLUDEPATH += $$[QT_HOST_PREFIX]/include/
equals(TRANSPORT_LIBRARY, "HICNET") {
LIBS += -L"/usr/local/lib" -framework CoreServices -ldash -lavformat -lavutil -lavcodec -lboost_system -lboost_regex -lswscale -lhicnet -lssl -lcrypto
DEFINES += "HICNET=ON"