+5
−39
+15
−30
+9
−0
external/swmm/Build.md
0 → 100644
+32
−0
external/swmm/CMakeLists.txt
0 → 100644
+69
−0
Loading
This commit bundles the modified SWMM 5.2 source code directly in
the TRITON repository, eliminating the need for users to manually
download, compile, and configure SWMM separately.
Changes:
- Bundle modified SWMM source in external/swmm/ (1.6 MB)
- Simplify CMake configuration - no manual SWMM paths needed
- Fix missing SWMM headers in swmm_triton.h (TRUE/FALSE macros)
- Update README with clear build instructions
SWMM is now compiled automatically when TRITON_ENABLE_SWMM=ON.
User workflow before:
- Download SWMM separately
- Compile SWMM manually
- Set SWMM_ROOT_DIR or SWMM_INCLUDE_DIR/LIBRARY_DIR
User workflow after:
cmake -DTRITON_ENABLE_SWMM=ON ..
make -j4