Commit c88cb15c authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

лицензия для онлиофис

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@68798 954022d7-b5bf-4e40-9824-e11837661b57
parent 2c04bb83
...@@ -3,6 +3,8 @@ CONFIG += console ...@@ -3,6 +3,8 @@ CONFIG += console
CONFIG -= app_bundle CONFIG -= app_bundle
CONFIG -= qt CONFIG -= qt
CONFIG += c++11
############### destination path ############### ############### destination path ###############
DESTDIR = $$PWD/../../SDK/bin/AllFontsGen DESTDIR = $$PWD/../../SDK/bin/AllFontsGen
...@@ -21,6 +23,10 @@ linux-g++:!contains(QMAKE_HOST.arch, x86_64):{ ...@@ -21,6 +23,10 @@ linux-g++:!contains(QMAKE_HOST.arch, x86_64):{
TARGET = linux_32 TARGET = linux_32
} }
mac {
TARGET = mac_64
}
################################################ ################################################
################# dependencies ################# ################# dependencies #################
...@@ -47,8 +53,12 @@ linux-g++:!contains(QMAKE_HOST.arch, x86_64):{ ...@@ -47,8 +53,12 @@ linux-g++:!contains(QMAKE_HOST.arch, x86_64):{
DESTINATION_SDK_PATH = $$DESTINATION_SDK_PATH/linux_32 DESTINATION_SDK_PATH = $$DESTINATION_SDK_PATH/linux_32
} }
mac {
DESTINATION_SDK_PATH = $$DESTINATION_SDK_PATH/mac_64
}
LIBS += -L$$DESTINATION_SDK_PATH -lgraphics LIBS += -L$$DESTINATION_SDK_PATH -lgraphics
LIBS += -L$$DESTINATION_SDK_PATH -lASCOfficeUtilsLib LIBS += -L$$DESTINATION_SDK_PATH -lOfficeUtils
linux-g++ | linux-g++-64 | linux-g++-32 { linux-g++ | linux-g++-64 | linux-g++-32 {
LIBS += -lz LIBS += -lz
} }
......
...@@ -919,19 +919,27 @@ int main(int argc, char** argv) ...@@ -919,19 +919,27 @@ int main(int argc, char** argv)
#endif #endif
#if 0 #if 0
#ifdef WIN32 #ifdef WIN32
//std::wstring strFontsFolder = L"C:/Windows/Fonts"; //std::wstring strFontsFolder = L"C:/Windows/Fonts";
std::wstring strFontsFolder = L"D:/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb/Fonts/native"; strFontsFolder = L"D:/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb/Fonts/native";
std::wstring strAllFontsJSPath = L"D:/AllFontsGenTest/AllFonts.js"; strAllFontsJSPath = L"D:/AllFontsGenTest/AllFonts.js";
std::wstring strThumbnailsFolder = L"D:/AllFontsGenTest"; strThumbnailsFolder = L"D:/AllFontsGenTest";
std::wstring strFontsSelectionBin = L"D:/AllFontsGenTest/font_selection.bin"; strFontsSelectionBin = L"D:/AllFontsGenTest/font_selection.bin";
#endif #endif
#ifdef _LINUX #if defined(_LINUX) && !defined(_MAC)
std::wstring strFontsFolder = L""; strFontsFolder = L"";
std::wstring strAllFontsJSPath = L"/home/oleg/AllFontsGen/AllFonts.js"; strAllFontsJSPath = L"/home/oleg/AllFontsGen/AllFonts.js";
std::wstring strThumbnailsFolder = L"/home/oleg/AllFontsGen/"; strThumbnailsFolder = L"/home/oleg/AllFontsGen/";
std::wstring strFontsSelectionBin = L"/home/oleg/AllFontsGen/font_selection.bin"; strFontsSelectionBin = L"/home/oleg/AllFontsGen/font_selection.bin";
#endif
#ifdef _MAC
strFontsFolder = L"";
strAllFontsJSPath = L"/Users/Oleg/Desktop/activex/AllFonts.js";
strThumbnailsFolder = L"/Users/Oleg/Desktop/activex/";
strFontsSelectionBin = L"/Users/Oleg/Desktop/activex/font_selection.bin";
#endif #endif
#endif #endif
......
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