This repository has been archived by the owner. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
symless/synergy-core
brahma-dev/synergy-stable-builds
Albicorp/synergy
AwesomeDoesIt/synergy
Bakalchuk/synergy
BogdanLivadariu/synergy
BorisChiou/synergy
Charcol/synergy
Coolred/synergy
Craigk109/synergy
DALDEI/synergy
DavidST44/synergy
DiegoSousa/synergy
DonnaWuDongxia/synergy
Dracophoenix1/synergy
Flare183/synergy
HerrGrumps/synergy
HomeTheaterOperatingSystem/synergy-core
Independent-Scientist/synergy
JaapSuter/synergy
JimDu/synergy
Joiningss/synergy
JoshMcCullough/synergy
KentVu/synergy
Lesthat/synergy
LiangChen0322/synergy
MarceColl/synergy
Mebus/synergy
MikeKnieriem/synergy
Nihil7354/synergy
OrangeUtan/synergy-stable-builds
ProjectLeaf/synergy
RaccoonTeam/synergy
RafalXXL/synergy
SeniorCoder1025/synergy
Sevea/synergy-1
SheaReinke/synergy
Toasterfist/synergy
UIKit0/synergy
Werror/synergy
Wkryst/synergy
XelaRellum/synergy
ahwagner/synergy
aladagli/synergy
alancapc/synergy
alex-deng/synergy
alexzzp/synergy
amitkr/synergy
andyesi/synergy
anthraxx/synergyunfuck
artisdom/synergy
artiya4u/synergy
astamatix/synergy
austin-laney/synergy
axela74/synergy
ballifatih/synergy
barisi/synergy
beedz/synergy
blnk2007/synergy
caramis/synergy
carballude/synergy
cardonator/synergy
carlosfvp/synergy
carstenlaengerer/synergy
cchwann/synergy
changdongsheng/synergy
chaomengnan/synergy
chedlin/synergy
chengguangnan/synergy
cjliu20152/synergy
clonkymonk/synergy
cribe78/synergy
dannon/synergy
darongE/synergy
davidchanff/synergy
dcrum/synergy
debauchee/barrier
deliangyang/synergy
dguerri/synergy
dijkstraj/synergy
divegeek/synergy
dpereira/synergy
dpolivy/synergy
duboisp/synergy
eaglecomp01/synergy
edwardsp/synergy
elitvinenko/synergy
fashioncj/synergy
fatdollar/synergy
fc205/synergy
feng-ye/synergy
fenggao86/synergy
fernandodeperto/synergy
frank-emrich/synergy
frankmanzhu/synergy
fuckobama/synergy
funixfu/synergy
fuzhuo/synergy
galkinvv/synergy
ghostreiter/synergy
gitscrubz/synergy
gtorressfdc/synergy
guangyue/synergy
hanks42/synergy
hanoseok/synergy
hcxiong/synergy
heathschweitzer/synergy
helkanen/synergy
hifi-dd/synergy
hoaluvn/synergy
hyei/synergy
iamcxa/synergy
ichengde/synergy
inche-ali/synergy
itchanges/synergy
iurnah/synergy
jcoming/synergy
jpmcmu/synergy
jpwhiting/synergy
julian-amaya/synergy
kaixinsoft/synergy
karolw/synergy
kash4kev/synergy
kellyhuberty/synergy
kissfu/synergy
kmrbrierley/synergy
ko7m/synergy
liuhuimin/synergy
lookat119/synergy
lukeqsun/synergy
makaanneo/synergy-1
margaritis/synergy
mcamiano/synergy
mcanthony/synergy
md11235/synergy
meowfaceman/synergy
midnite8177/synergy
moben/synergy
moodboom/synergy
museroom/synergy
neilmayhew/synergy
neuroradiology/synergy
nmadhok/synergy
noital/synergy
nyetwurk/synergy
ommokazza/synergy
onlymee/synergy
pdecat/synergy
peteo/synergy-stable-builds
phackss/synergy
piboye/synergy
ptg001/synergy
qbektrix/synergy
rajserc/synergy
ralluri/synergy
rmagnuson/synergy
saburahu/synergy
saiksy/synergy
sami1971/synergy
sarvex/synergy
scorpblog/synergy
sebpardo/synergy
serenemoon/synergy
shanesims/synergy
sharkpp/synergy
shaunliz/synergy
shawnanastasio/synergy
sl1pm4t/synergy
smittex/synergy
solokacher/synergy
songei/synergy-core
spurin/synergy
stelonix/synergy
stipid/synergy
terry2010/synergy
the-wes/synergy
thesoftwarejedi/synergy
timmui/synergy
tpraturi/synergy
utwodownson/synergy
vaginessa/synergy
whereyougo/synergy
willleslie/synergy
wjcsharp/synergy
wolrah/synergy
xiaoping378/synergy
xiyuanHou/synergy
xuerik/synergy
yajun0601/synergy
yangchengwork/synergy
yarec/synergy
ylluminate/synergy
yucheng82/synergy
yulin0629/synergy
yupi2/synergy
yyppaag/synergy
zbrode/synergy
zdndanny/synergy
zengyijie/synergy
zhanglongqi/synergy
Nothing to show
...
Choose a Head Repository
symless/synergy-core
brahma-dev/synergy-stable-builds
Albicorp/synergy
AwesomeDoesIt/synergy
Bakalchuk/synergy
BogdanLivadariu/synergy
BorisChiou/synergy
Charcol/synergy
Coolred/synergy
Craigk109/synergy
DALDEI/synergy
DavidST44/synergy
DiegoSousa/synergy
DonnaWuDongxia/synergy
Dracophoenix1/synergy
Flare183/synergy
HerrGrumps/synergy
HomeTheaterOperatingSystem/synergy-core
Independent-Scientist/synergy
JaapSuter/synergy
JimDu/synergy
Joiningss/synergy
JoshMcCullough/synergy
KentVu/synergy
Lesthat/synergy
LiangChen0322/synergy
MarceColl/synergy
Mebus/synergy
MikeKnieriem/synergy
Nihil7354/synergy
OrangeUtan/synergy-stable-builds
ProjectLeaf/synergy
RaccoonTeam/synergy
RafalXXL/synergy
SeniorCoder1025/synergy
Sevea/synergy-1
SheaReinke/synergy
Toasterfist/synergy
UIKit0/synergy
Werror/synergy
Wkryst/synergy
XelaRellum/synergy
ahwagner/synergy
aladagli/synergy
alancapc/synergy
alex-deng/synergy
alexzzp/synergy
amitkr/synergy
andyesi/synergy
anthraxx/synergyunfuck
artisdom/synergy
artiya4u/synergy
astamatix/synergy
austin-laney/synergy
axela74/synergy
ballifatih/synergy
barisi/synergy
beedz/synergy
blnk2007/synergy
caramis/synergy
carballude/synergy
cardonator/synergy
carlosfvp/synergy
carstenlaengerer/synergy
cchwann/synergy
changdongsheng/synergy
chaomengnan/synergy
chedlin/synergy
chengguangnan/synergy
cjliu20152/synergy
clonkymonk/synergy
cribe78/synergy
dannon/synergy
darongE/synergy
davidchanff/synergy
dcrum/synergy
debauchee/barrier
deliangyang/synergy
dguerri/synergy
dijkstraj/synergy
divegeek/synergy
dpereira/synergy
dpolivy/synergy
duboisp/synergy
eaglecomp01/synergy
edwardsp/synergy
elitvinenko/synergy
fashioncj/synergy
fatdollar/synergy
fc205/synergy
feng-ye/synergy
fenggao86/synergy
fernandodeperto/synergy
frank-emrich/synergy
frankmanzhu/synergy
fuckobama/synergy
funixfu/synergy
fuzhuo/synergy
galkinvv/synergy
ghostreiter/synergy
gitscrubz/synergy
gtorressfdc/synergy
guangyue/synergy
hanks42/synergy
hanoseok/synergy
hcxiong/synergy
heathschweitzer/synergy
helkanen/synergy
hifi-dd/synergy
hoaluvn/synergy
hyei/synergy
iamcxa/synergy
ichengde/synergy
inche-ali/synergy
itchanges/synergy
iurnah/synergy
jcoming/synergy
jpmcmu/synergy
jpwhiting/synergy
julian-amaya/synergy
kaixinsoft/synergy
karolw/synergy
kash4kev/synergy
kellyhuberty/synergy
kissfu/synergy
kmrbrierley/synergy
ko7m/synergy
liuhuimin/synergy
lookat119/synergy
lukeqsun/synergy
makaanneo/synergy-1
margaritis/synergy
mcamiano/synergy
mcanthony/synergy
md11235/synergy
meowfaceman/synergy
midnite8177/synergy
moben/synergy
moodboom/synergy
museroom/synergy
neilmayhew/synergy
neuroradiology/synergy
nmadhok/synergy
noital/synergy
nyetwurk/synergy
ommokazza/synergy
onlymee/synergy
pdecat/synergy
peteo/synergy-stable-builds
phackss/synergy
piboye/synergy
ptg001/synergy
qbektrix/synergy
rajserc/synergy
ralluri/synergy
rmagnuson/synergy
saburahu/synergy
saiksy/synergy
sami1971/synergy
sarvex/synergy
scorpblog/synergy
sebpardo/synergy
serenemoon/synergy
shanesims/synergy
sharkpp/synergy
shaunliz/synergy
shawnanastasio/synergy
sl1pm4t/synergy
smittex/synergy
solokacher/synergy
songei/synergy-core
spurin/synergy
stelonix/synergy
stipid/synergy
terry2010/synergy
the-wes/synergy
thesoftwarejedi/synergy
timmui/synergy
tpraturi/synergy
utwodownson/synergy
vaginessa/synergy
whereyougo/synergy
willleslie/synergy
wjcsharp/synergy
wolrah/synergy
xiaoping378/synergy
xiyuanHou/synergy
xuerik/synergy
yajun0601/synergy
yangchengwork/synergy
yarec/synergy
ylluminate/synergy
yucheng82/synergy
yulin0629/synergy
yupi2/synergy
yyppaag/synergy
zbrode/synergy
zdndanny/synergy
zengyijie/synergy
zhanglongqi/synergy
Nothing to show
Commits on Aug 08, 2016
Jerry (Xinyu Hou)
Jerry (Xinyu Hou)
XinyuHou and Jerry (Xinyu Hou)
Xinyu Hou (Jerry) Jerry (Xinyu Hou)
Xinyu Hou (Jerry) and Jerry (Xinyu Hou)
Andrew Nelless Jerry (Xinyu Hou)
Andrew Nelless and Jerry (Xinyu Hou)
Jerry (Xinyu Hou)
Jerry (Xinyu Hou)
Commits on Aug 09, 2016
Commits on Sep 26, 2016
Commits on Oct 12, 2016
Commits on Oct 31, 2016
Commits on Nov 16, 2016
View
@@ -16,9 +16,9 @@
# Version number for Synergy
set(VERSION_MAJOR 1)
-set(VERSION_MINOR 8)
-set(VERSION_REV 5)
-set(VERSION_STAGE stable)
+set(VERSION_MINOR 9)
+set(VERSION_REV 0)
+set(VERSION_STAGE beta)
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
cmake_minimum_required(VERSION 2.6)
@@ -315,6 +315,7 @@ else() # not-unix
/D_WINDOWS
/D_CRT_SECURE_NO_WARNINGS
/DVERSION=\"${VERSION}\"
+ /D_XKEYCHECK_H
)
if (MSVC_VERSION EQUAL 1600)
@@ -326,6 +327,38 @@ else() # not-unix
endif()
+if (WIN32)
+ if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(OPENSSL_PLAT_DIR openssl-win64)
+ else()
+ set(OPENSSL_PLAT_DIR openssl-win32)
+ endif()
+ set(OPENSSL_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/inc32)
+endif()
+
+if (APPLE)
+ set(OPENSSL_PLAT_DIR openssl-osx)
+ set(OPENSSL_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/include)
+endif()
+
+if (WIN32)
+ set(OPENSSL_LIBS
+ ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/libeay32.lib
+ ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/ssleay32.lib
+ )
+endif()
+
+if (UNIX)
+ if (APPLE)
+ set(OPENSSL_LIBS
+ ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libssl.a
+ ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libcrypto.a
+ )
+ else()
+ set(OPENSSL_LIBS ssl crypto)
+ endif()
+endif()
+
add_subdirectory(src)
if (WIN32)
@@ -363,3 +396,5 @@ if (CONF_DOXYGEN)
configure_file(${cmake_dir}/doxygen.cfg.in ${doc_dir}/doxygen.cfg)
endif()
+
+option(BUILD_SERVICE "Build synergyd" ON)
View
Binary file not shown.
View
Binary file not shown.
View
@@ -34,7 +34,7 @@ class Toolchain:
# options used by all commands
globalOptions = 'v'
- globalOptionsLong = ['no-prompts', 'verbose', 'skip-gui', 'skip-core']
+ globalOptionsLong = ['no-prompts', 'verbose', 'skip-gui', 'skip-core', 'skip-tests']
# list of valid commands as keys. the values are optarg strings, but most
# are None for now (this is mainly for extensibility)
@@ -208,8 +208,8 @@ class InternalCommands:
qmake_cmd = 'qmake'
make_cmd = 'make'
xcodebuild_cmd = 'xcodebuild'
- w32_make_cmd = 'mingw32-make'
- w32_qt_version = '4.6.2'
+ w32_make_cmd = 'nmake'
+ w32_qt_version = '5.6.1'
defaultTarget = 'release'
cmake_dir = 'res'
@@ -240,6 +240,9 @@ class InternalCommands:
# by default, compile the gui
enableMakeGui = True
+
+ # by default, compile the tests
+ enableMakeTests = True
# by default, unknown
macSdk = None
@@ -254,13 +257,15 @@ class InternalCommands:
gmockDir = 'gmock-1.6.0'
win32_generators = {
- 1 : VisualStudioGenerator('10'),
- 2 : VisualStudioGenerator('10 Win64'),
- 3 : VisualStudioGenerator('9 2008'),
- 4 : VisualStudioGenerator('9 2008 Win64'),
- 5 : VisualStudioGenerator('8 2005'),
- 6 : VisualStudioGenerator('8 2005 Win64')
- }
+ 1 : VisualStudioGenerator('14'),
+ 2 : VisualStudioGenerator('14 Win64'),
+ 3 : VisualStudioGenerator('10'),
+ 4 : VisualStudioGenerator('10 Win64'),
+ 5 : VisualStudioGenerator('9 2008'),
+ 6 : VisualStudioGenerator('9 2008 Win64'),
+ 7 : VisualStudioGenerator('8 2005'),
+ 8 : VisualStudioGenerator('8 2005 Win64'),
+ }
unix_generators = {
1 : MakefilesGenerator(),
@@ -442,6 +447,8 @@ def configureCore(self, target="", extraArgs=""):
cmake_args += " -DOSX_TARGET_MAJOR=" + macSdkMatch.group(1)
cmake_args += " -DOSX_TARGET_MINOR=" + macSdkMatch.group(2)
+
+ cmake_args += " -DDISABLE_TESTS=" + str(int(not self.enableMakeTests))
# if not visual studio, use parent dir
sourceDir = generator.getSourceDir()
@@ -603,13 +610,12 @@ def persist_qmake(self):
print (
'Suggestions:\n'
'1. Ensure that qmake.exe exists in your system path.\n'
- '2. Try to download Qt (check our dev FAQ for links):\n'
- ' qt-sdk-win-opensource-2010.02.exe')
+ '2. Try to download Qt 5.6\n')
raise Exception('Cannot continue without qmake.')
stdout, stderr = p.communicate()
if p.returncode != 0:
- raise Exception('Could not test for cmake: %s' % stderr)
+ raise Exception('Could not test for qmake: %s' % stderr)
else:
m = re.search('.*Using Qt version (\d+\.\d+\.\d+).*', stdout)
if m:
@@ -760,12 +766,7 @@ def macPostGuiMake(self, target):
if err != 0:
raise Exception(bin + " failed with error: " + str(err))
- (qMajor, qMinor, qRev) = self.getQmakeVersion()
- if qMajor <= 4:
- frameworkRootDir = "/Library/Frameworks"
- else:
- # TODO: auto-detect, qt can now be installed anywhere.
- frameworkRootDir = "/Developer/Qt5.2.1/5.2.1/clang_64/lib"
+ frameworkRootDir = commands.getoutput("qmake -query QT_INSTALL_LIBS")
target = bundleTargetDir + "/Contents/Frameworks"
@@ -892,8 +893,8 @@ def cleanCore(self, targets):
generator = self.getGeneratorFromConfig().cmakeName
if generator.startswith('Visual Studio'):
- # special case for version 10, use new /target:clean
- if generator.startswith('Visual Studio 10'):
+ # special case for version 10 and above, use new /target:clean
+ if generator.startswith('Visual Studio 10') or generator.startswith('Visual Studio 14'):
for target in targets:
self.run_vcbuild(generator, target, self.sln_filepath(), '/target:clean')
@@ -1723,6 +1724,8 @@ def get_vcvarsall(self, generator):
value,type = _winreg.QueryValueEx(key, '9.0')
elif generator.startswith('Visual Studio 10'):
value,type = _winreg.QueryValueEx(key, '10.0')
+ elif generator.startswith('Visual Studio 14'):
+ value,type = _winreg.QueryValueEx(key, '14.0')
else:
raise Exception('Cannot determine vcvarsall.bat location for: ' + generator)
@@ -1765,7 +1768,7 @@ def run_vcbuild(self, generator, mode, solution, args='', dir='', config32='Win3
else:
config = 'Debug'
- if generator.startswith('Visual Studio 10'):
+ if generator.startswith('Visual Studio 10') or generator.startswith('Visual Studio 14'):
cmd = ('@echo off\n'
'call "%s" %s \n'
'cd "%s"\n'
@@ -1888,6 +1891,8 @@ def __init__(self, argv, opts, args, verbose):
self.ic.enableMakeGui = False
elif o == '--skip-core':
self.ic.enableMakeCore = False
+ elif o == '--skip-tests':
+ self.ic.enableMakeTests = False
elif o in ('-d', '--debug'):
self.build_targets += ['debug',]
elif o in ('-r', '--release'):
View
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0">
- <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
- <application>
- <!-- Windows 7 -->
- <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
- </application>
- </compatibility>
- <asmv3:application>
- <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
- <dpiAware>true</dpiAware>
- </asmv3:windowsSettings>
- </asmv3:application>
-</assembly>
-
View
@@ -14,42 +14,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if (WIN32)
- if(CMAKE_SIZEOF_VOID_P EQUAL 8)
- set(OPENSSL_PLAT_DIR openssl-win64)
- else()
- set(OPENSSL_PLAT_DIR openssl-win32)
- endif()
- set(OPENSSL_INCLUDE ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/inc32)
-endif()
-
-if (APPLE)
- set(OPENSSL_PLAT_DIR openssl-osx)
- set(OPENSSL_INCLUDE ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/include)
-endif()
-
-if (WIN32)
- set(OPENSSL_LIBS
- ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/libeay32.lib
- ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/ssleay32.lib
- )
-endif()
-
-if (UNIX)
- if (APPLE)
- set(OPENSSL_LIBS
- ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libssl.a
- ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libcrypto.a
- )
- else()
- set(OPENSSL_LIBS ssl crypto)
- endif()
-endif()
-
add_subdirectory(lib)
add_subdirectory(cmd)
add_subdirectory(micro)
-if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX")
+if ((NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX") AND (NOT ${DISABLE_TESTS}))
add_subdirectory(test)
endif()
View
@@ -16,10 +16,13 @@
add_subdirectory(synergyc)
add_subdirectory(synergys)
-add_subdirectory(synergyd)
add_subdirectory(usynergy)
add_subdirectory(syntool)
+if (BUILD_SERVICE)
+ add_subdirectory(synergyd)
+endif (BUILD_SERVICE)
+
if (WIN32)
add_subdirectory(synergyp)
endif()
@@ -60,15 +60,6 @@ add_executable(synergyc ${sources})
target_link_libraries(synergyc
arch base client common io mt net ipc platform server synergy ${libs} ${OPENSSL_LIBS})
-if (WIN32)
- ADD_CUSTOM_COMMAND(
- TARGET synergyc
- POST_BUILD
- COMMAND "mt.exe" -manifest \"${CMAKE_SOURCE_DIR}\\res\\dpiaware.manifest\" -inputresource:\"$<TARGET_FILE:synergyc>\"\;\#1 -outputresource:\"$<TARGET_FILE:synergyc>\"\;\#1
- COMMENT "Adding display aware manifest..."
- )
-endif()
-
if (CONF_CPACK)
install(TARGETS
synergyc
@@ -37,15 +37,6 @@ endif()
target_link_libraries(synergyd
arch base common io ipc mt net platform synergy shared ${libs} ${OPENSSL_LIBS})
-if (WIN32)
- ADD_CUSTOM_COMMAND(
- TARGET synergyd
- POST_BUILD
- COMMAND "mt.exe" -manifest \"${CMAKE_SOURCE_DIR}\\res\\dpiaware.manifest\" -inputresource:\"$<TARGET_FILE:synergyd>\"\;\#1 -outputresource:\"$<TARGET_FILE:synergyd>\"\;\#1
- COMMENT "Adding display aware manifest..."
- )
-endif()
-
if (CONF_CPACK)
install(TARGETS
synergyd
@@ -60,15 +60,6 @@ add_executable(synergys ${sources})
target_link_libraries(synergys
arch base client common io mt net ipc platform server synergy ${libs} ${OPENSSL_LIBS})
-if (WIN32)
- ADD_CUSTOM_COMMAND(
- TARGET synergys
- POST_BUILD
- COMMAND "mt.exe" -manifest \"${CMAKE_SOURCE_DIR}\\res\\dpiaware.manifest\" -inputresource:\"$<TARGET_FILE:synergys>\"\;\#1 -outputresource:\"$<TARGET_FILE:synergys>\"\;\#1
- COMMENT "Adding display aware manifest..."
- )
-endif()
-
if (CONF_CPACK)
install(TARGETS
synergys
View
@@ -137,11 +137,24 @@ release {
MOC_DIR = tmp/release
RCC_DIR = tmp/release
}
+win32-msvc2015 {
+ LIBS += -lAdvapi32
+ QMAKE_LFLAGS += /NODEFAULTLIB:LIBCMT
+}
+win32-msvc* {
+ contains(QMAKE_HOST.arch, x86):{
+ QMAKE_LFLAGS *= /MACHINE:X86
+ LIBS += -L"$$(BONJOUR_SDK_HOME)/Lib/Win32" -ldnssd
+ }
+
+ contains(QMAKE_HOST.arch, x86_64):{
+ QMAKE_LFLAGS *= /MACHINE:X64
+ LIBS += -L"$$(BONJOUR_SDK_HOME)/Lib/x64" -ldnssd
+ }
+}
win32 {
Debug:DESTDIR = ../../bin/Debug
Release:DESTDIR = ../../bin/Release
- LIBS += -L"../../ext/bonjour/x64" \
- -ldnssd
- INCLUDEPATH += "$(BONJOUR_SDK_HOME)/Include"
+ INCLUDEPATH += "$$(BONJOUR_SDK_HOME)/Include"
}
else:DESTDIR = ../../bin
@@ -77,7 +77,7 @@ const QString &AppConfig::screenName() const { return m_ScreenName; }
int AppConfig::port() const { return m_Port; }
-const QString &AppConfig::interface() const { return m_Interface; }
+const QString &AppConfig::networkInterface() const { return m_Interface; }
int AppConfig::logLevel() const { return m_LogLevel; }
@@ -220,7 +220,7 @@ void AppConfig::setScreenName(const QString &s) { m_ScreenName = s; }
void AppConfig::setPort(int i) { m_Port = i; }
-void AppConfig::setInterface(const QString &s) { m_Interface = s; }
+void AppConfig::setNetworkInterface(const QString &s) { m_Interface = s; }
void AppConfig::setLogLevel(int i) { m_LogLevel = i; }
View
@@ -38,8 +38,9 @@
// 5: ssl plugin 'ns' v1.1
// 6: ssl plugin 'ns' v1.2
// 7: serial key activation
+// 8: Visual Studio 2015 support
//
-const int kWizardVersion = 7;
+const int kWizardVersion = 8;
class QSettings;
class SettingsDialog;
@@ -64,7 +65,7 @@ class AppConfig: public QObject
public:
const QString& screenName() const;
int port() const;
- const QString& interface() const;
+ const QString& networkInterface() const;
int logLevel() const;
bool logToFile() const;
const QString& logFilename() const;
@@ -113,7 +114,7 @@ class AppConfig: public QObject
QSettings& settings();
void setScreenName(const QString& s);
void setPort(int i);
- void setInterface(const QString& s);
+ void setNetworkInterface(const QString& s);
void setLogLevel(int i);
void setLogToFile(bool b);
void setLogFilename(const QString& s);
Oops, something went wrong.

No commit comments for this range