This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 3755211 - Added documentation on how to build with Visual Studio. -
Added some of the Visual Studio project files to the gitignore list.
3755211 is described below
commit 375521133a938c2991e2f74fe3dedb0dd887bb46
Author: Christofer Dutz <[email protected]>
AuthorDate: Wed Apr 17 14:29:26 2019 +0200
- Added documentation on how to build with Visual Studio.
- Added some of the Visual Studio project files to the gitignore list.
---
.gitignore | 7 ++++++-
plc4cpp/README.md | 10 +++++++++-
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index e132f1b..38fa048 100644
--- a/.gitignore
+++ b/.gitignore
@@ -85,4 +85,9 @@ jqassistant/
# Exclude the C++ libs
plc4cpp/libs/libs/
plc4cpp/.idea/
-plc4cpp/cmake-build-debug/
\ No newline at end of file
+plc4cpp/cmake-build-debug/
+
+# Ignore VisualStudio related files
+**/CMakeSettings.json
+**/.vs/**
+
diff --git a/plc4cpp/README.md b/plc4cpp/README.md
index 653c771..65ad975 100644
--- a/plc4cpp/README.md
+++ b/plc4cpp/README.md
@@ -28,4 +28,12 @@ Make sure the `bin` directory containing the executable
`mingw32-make.exe` is on
In the `plc4cpp-libs` module all third party dependencies will be built that
are needed by any of the other plc4cpp modules.
The build is setup to install any built binaries to the `libs` directory of
the `plc4cpp-libs` module and to only build them if they have previously not
been installed there.
-So please refer to that directory in any of the other builds.
\ No newline at end of file
+So please refer to that directory in any of the other builds.
+
+## Building PLC4CPP in Visual Studio
+
+1. Open Visual Studio (Tested with 2017 and 2019)
+2. Open Local Directory
+3. Select the `plc4cpp` subdirectory
+4. Wait till the IDE is ready (little icon in the lower left corner)
+5. Build everything by selecting the menu `Build/Build All` (or similar)