You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,40 +46,38 @@ using CMake and the Microsoft Visual Studio C compiler on Windows:
46
46
Readme file resides (which should have 'src' as a sub-directory
47
47
underneath it).
48
48
49
-
2.Issue the following command to create the directory for storing the built binaries:
49
+
2.Use the following command to create the directory for storing the built binaries:
50
50
51
51
```bash
52
52
mkdir build
53
-
cd build
54
53
```
55
54
56
-
3. Then enter the following CMake commands to build the binaries:
55
+
3. Then the following CMake commands to build the binaries:
57
56
58
57
```bash
59
-
cmake -G <compiler> .. -A <platform>
58
+
cmake -G <compiler> .. -A <platform> -B .\build
60
59
cmake --build . --config Release
61
60
```
62
61
63
-
where `<compiler>` is the name of the Visual Studio compiler being used
62
+
where `<compiler>` is the name of the compiler being used
64
63
in double quotes (e.g., "Visual Studio 15 2017", "Visual Studio 16 2019",
65
-
or "Visual Studio 17 2022") and `<platform>` is Win32 for a 32-bit build
66
-
or x64 for a 64-bit build. The resulting engine DLL (swmm5.dll), command
67
-
line executable (runswmm.exe), and output processing libraries (swmm-output.dll)
64
+
or "Visual Studio 17 2022") and `<platform>` (e.g., Win32 for a 32-bit build
65
+
or x64 for a 64-bit build). The resulting engine shared libraries (i.e., swmm5.dll), command line executable (i.e., runswmm.exe), and output processing libraries (i.e., swmm-output.dll)
68
66
will appear in the build\Release directory.
69
67
70
68
For other platforms, such as Linux or MacOS, Step 3 can be replaced with:
71
69
72
70
```bash
73
-
cmake ..
74
-
cmake --build .
71
+
cmake .
72
+
cmake --build .\build
75
73
```
76
74
77
75
The resulting shared object library (libswmm5.so or libswmm5.dylib) and
78
-
command line executable (runswmm) will appear in the build directory.
76
+
command line executable (runswmm) will be compiled to the build directory.
79
77
80
78
### Python Bindings (Experimental)
81
79
82
-
Experimental python bindings for the SWMM API are being developed to support regression and benchmark testing as well as other applications. _**These bindings are still under development and testing and has yet to be cleared through US EPA ORD's official quality assurance review process**_. The exprimental python bindings can be built and installed locally using the following command.
80
+
Experimental python bindings for the SWMM API are being developed to support regression and benchmark testing as well as for other applications. _**These bindings are still under development and testing and has yet to be cleared through US EPA ORD's official quality assurance review process**_. The exprimental python bindings can be built and installed locally using the following command.
0 commit comments