Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS2017 updates #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions 3rdparty/3rdparty.vcxproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
Expand All @@ -13,18 +13,19 @@
<PropertyGroup Label="Globals">
<ProjectGuid>{B2165720-B4B2-4F4B-8888-8C390C3CB4DB}</ProjectGuid>
<RootNamespace>doe</RootNamespace>
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v140_xp</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v140_xp</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
Expand Down
5 changes: 3 additions & 2 deletions autom8_cli/autom8_cli.vcxproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
Expand All @@ -14,6 +14,7 @@
<ProjectGuid>{2EF8B915-3C8A-4A37-B8DD-E4E36A86167D}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>autom8_cli</RootNamespace>
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Expand Down Expand Up @@ -104,4 +105,4 @@ xcopy /y "c:\windows\system32\msvcr100.dll" "$(SolutionDir)\release\"</Command>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
143 changes: 133 additions & 10 deletions autom8_server_qt/autom8_server_qt.vcxproj

Large diffs are not rendered by default.

16 changes: 7 additions & 9 deletions autom8_server_qt/autom8_server_qt.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@
<Filter>src</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="stdafx.h" />
<ClInclude Include="GeneratedFiles\ui_autom8_server_qt.h">
<Filter>gen</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_autom8_server_edit_device.h">
<Filter>gen</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="autom8_server_edit_device.ui">
<Filter>res</Filter>
Expand All @@ -76,6 +67,13 @@
<CustomBuild Include="LogListModel.h">
<Filter>src</Filter>
</CustomBuild>
<CustomBuild Include="stdafx.h" />
<CustomBuild Include="GeneratedFiles\ui_autom8_server_edit_device.h">
<Filter>gen</Filter>
</CustomBuild>
<CustomBuild Include="GeneratedFiles\ui_autom8_server_qt.h">
<Filter>gen</Filter>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<Filter Include="moc">
Expand Down
13 changes: 10 additions & 3 deletions autom8_server_qt/autom8_server_qt.vcxproj.user
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LocalDebuggerEnvironment Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">PATH=D:\src\Qt\5.7\msvc2015\bin%3b$(PATH)</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">PATH=D:\src\Qt\5.7\msvc2015\bin%3b$(PATH)</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment Condition="'$(Configuration)|$(Platform)'=='Template|Win32'">PATH=D:\src\Qt\5.7\msvc2015\bin%3b$(PATH)</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">PATH=$(QTDIR)\bin%3bD:\src\Qt\5.7\msvc2015\bin%3b$(PATH)</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">PATH=$(QTDIR)\bin%3bD:\src\Qt\5.7\msvc2015\bin%3b$(PATH)</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment Condition="'$(Configuration)|$(Platform)'=='Template|Win32'">PATH=$(QTDIR)\bin%3bD:\src\Qt\5.7\msvc2015\bin%3b$(PATH)</LocalDebuggerEnvironment>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<QTDIR>Z:\src\Qt\5.9.1\msvc2015</QTDIR>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<QTDIR>Z:\src\Qt\5.9.1\msvc2015</QTDIR>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Template|Win32'">
<QTDIR>Z:\src\Qt\5.9.1\msvc2015</QTDIR>
</PropertyGroup>
</Project>
7 changes: 4 additions & 3 deletions libautom8/contrib/cm15a_controller/cm15a_controller.vcxproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
Expand All @@ -14,20 +14,21 @@
<ProjectGuid>{310C912B-FFCB-4681-AB10-EE91C7DCF39E}</ProjectGuid>
<RootNamespace>cm15a_controller</RootNamespace>
<Keyword>Win32Proj</Keyword>
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Static</UseOfAtl>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v140_xp</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Dynamic</UseOfAtl>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v140_xp</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
Expand Down
7 changes: 4 additions & 3 deletions libautom8/src/libautom8.vcxproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
Expand All @@ -14,20 +14,21 @@
<ProjectGuid>{4602D866-D98D-4AC6-A501-A2463CD41355}</ProjectGuid>
<RootNamespace>autom8</RootNamespace>
<Keyword>Win32Proj</Keyword>
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Dynamic</UseOfAtl>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v140_xp</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Dynamic</UseOfAtl>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v140_xp</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
Expand Down
21 changes: 7 additions & 14 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ The server listens on TCP port 7901 by default.

#### Install these things: ####

1. Visual Studio 2015 with the 32-bit C++ compiler (https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx)
1. Visual Studio 2017 Community Edition with the 32-bit C++ compiler (https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx). **important**: make sure you install the v140 platform (in addition to v141), the projects still use the v140 format.
2. Boost 1.60 (https://sourceforge.net/projects/boost/files/boost-binaries/1.60.0/)
3. QT 5.7 with 32-bit MSVC2015 libraries (http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe)
4. Qt5Package VS Addin (https://visualstudiogallery.msdn.microsoft.com/c89ff880-8509-47a4-a262-e4fa07168408)
3. QT 5.x (5.9.1 used at the time of writing) msvc2015-32-bit library (http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe)
4. VS 2017 QT Addin (http://download.qt.io/development_releases/vsaddin)
5. ActiveHome Pro SDK (http://www.starbasestudios.net/ahk/ahsdk_install.exe)

All other dependencies are included in the source.
Expand All @@ -92,18 +92,11 @@ That is: autom8 and boost should share the same parent directory.

1. Open <autom8-src>/autom8.sln
2. Configure the Qt5Package Addin:
- Main Menu -> QT -> Qt Options
- Main Menu -> QT VS Tools -> Qt Options
- Qt Version -> Add
- Name: 5.7
- Path: d:\path\to\Qt\5.7\msvc2015
3. Configure the QTDIR environment variable:
- Main Menu -> View -> Other Windows -> Property Manager
- autom8_server_qt -> Debug | Win32
- Double click QtConfig
- User Macros
- Name: QTDIR
- Value: d:\path\to\Qt\5.7\msvc2015
4. Compile and Run
- Name: 5.9.1
- Path: d:\path\to\Qt\5.9.1\msvc2015
3. Compile and Run

### autom8 Server for Linux (with web-based admin and client app) ###

Expand Down