Skip to content

Commit 5cf9626

Browse files
committed
Rename readmemd and added release procedure
1 parent 8630db9 commit 5cf9626

File tree

3 files changed

+25
-26
lines changed

3 files changed

+25
-26
lines changed

listeners/GPII_USBListener/README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,3 @@ Build using Visual studio. The 2013 Express version is know to work. You can bui
99
### libcurl
1010

1111
The static version of libcurl is used to create the http GET actions and while files for libcurl 7v37 are included in the source you may wish to regenerate them, for example to update libcurl. To generate these files do the following
12-
13-
### Alternative build (not used)
14-
15-
See the README in libcur/ for details of generating these files
16-
Dependencies:
17-
1. MinGW - download and install from http://www.mingw.org
18-
2. libcurl - download from http://curl.haxx.se/download.html and follow build/installation instructions for Windows MinGW (http://curl.haxx.se/docs/install.html)
19-
20-
Installation instructions:
21-
1. Make sure you have MinGW installed.
22-
2. Copy lib/libcurl.dll from the curl build to a folder on your system's PATH or this root directory
23-
3. Build and link with MinGW g++ with the build.cmd file or else use the following options:
24-
g++ -I.\include -O0 -g3 -Wall -c -fmessage-length=0 -o src\UsbUserListener.o src\UsbUserListener.cpp
25-
g++ -L.\lib -static-libgcc -o UsbUserListener.exe src\UsbUserListener.o -lcurldll
26-
You need to pay specific attention to the -I, -L, -static-libgcc and -lcurldll flags.
27-
4. When the application is run, you should be able to see UsbUserListener.exe in the task manager. Fire up the Flow Manager to see requests coming upon insertion or removal of USB sticks.
28-
29-
Build flags:
30-
-I, -L and -l specify the include path for curl/curl.h and the libcurldll.a library
31-
-static-libgcc is needed for the application to run. If omitted, the application terminates immediately (http://www.eclipse.org/forums/index.php/mv/tree/156519/#page_top)
32-
33-
34-
In order to run the application, the dll libcurl.dll must be resolvable on the PATH (preferably in the same directory as the .exe) otherwise
35-
the .exe will terminate on startup with error 0xc0000013

listeners/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
+ Listeners
2+
3+
The GPII listeners for windows are currently USB and RFID (NFC). See individual README.md files for details
4+
The executables can be found in ./bin/{Debug,Release} though the installer is only in Release
5+
6+
+ Building
7+
8+
++ In VisualStudio
9+
10+
Open listener.sln in VS, right click on Solution in the explorer and build.
11+
Has been tested in VS2013 (12) express
12+
13+
++ On command line with MSBuild
14+
15+
Open a command window and run
16+
17+
"%ProgramFiles(x86)%\MSBuild\12.0\bin\msbuild" listeners.sln /property:Configuration=Release
18+
19+
## Making a release
20+
21+
* Make sure the listeners version numbers in GPII_{USB,RFID}UserListener.rc are correct
22+
* Build the Release solution (See above)
23+
* Note the version number for the installer .exe will be the greater of the 2 listeners versions
24+
* Checkin the code to GitHub (or make a pull request)
25+
* Make a GitHub release using a Tag of the form "Listeners_V1.3.0" (using the installer version)

listeners/readme.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)