Skip to content
Snippets Groups Projects
Commit d81541de authored by Karsten Rink's avatar Karsten Rink
Browse files

moved swmm interface files to file i/o

parent d0ec1cc0
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,11 @@ if(QT4_FOUND) ...@@ -11,6 +11,11 @@ if(QT4_FOUND)
APPEND_SOURCE_FILES(SOURCES FEFLOW) APPEND_SOURCE_FILES(SOURCES FEFLOW)
endif() endif()
if(OGS_BUILD_SWMM)
GET_SOURCE_FILES(SOURCES_SWMM SWMM)
SET(SOURCES ${SOURCES} ${SOURCES_SWMM})
endif()
include(${PROJECT_SOURCE_DIR}/scripts/cmake/OGSEnabledElements.cmake) include(${PROJECT_SOURCE_DIR}/scripts/cmake/OGSEnabledElements.cmake)
# Create the library # Create the library
......
add_executable(SWMMConverter add_executable(SWMMConverter
SWMMConverter.cpp SWMMConverter.cpp
SwmmInterface.h
SwmmInterface.cpp
) )
target_link_libraries(SWMMConverter target_link_libraries(SWMMConverter
ApplicationsFileIO ApplicationsFileIO
GeoLib GeoLib
MeshLib MeshLib
swmm5interface SwmmInterface
) )
include_directories( ${CMAKE_SOURCE_DIR}/Applications/FileIO )
ADD_VTK_DEPENDENCY(SWMMConverter) ADD_VTK_DEPENDENCY(SWMMConverter)
set_target_properties(SWMMConverter PROPERTIES FOLDER Utilities) set_target_properties(SWMMConverter PROPERTIES FOLDER Utilities)
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <tclap/CmdLine.h> #include <tclap/CmdLine.h>
#include "SWMMInterface.h" #include "Applications/FileIO/SWMM/SWMMInterface.h"
#include "ThirdParty/SWMMInterface/swmm5_iface.h" #include "ThirdParty/SWMMInterface/swmm5_iface.h"
#include "Applications/ApplicationsLib/LogogSetup.h" #include "Applications/ApplicationsLib/LogogSetup.h"
......
...@@ -52,6 +52,5 @@ if(NOT TARGET vtkGUISupportQt AND OGS_BUILD_GUI) ...@@ -52,6 +52,5 @@ if(NOT TARGET vtkGUISupportQt AND OGS_BUILD_GUI)
endif() endif()
if(OGS_BUILD_SWMM) if(OGS_BUILD_SWMM)
add_subdirectory(${CMAKE_SOURCE_DIR}/ThirdParty/SWMMInterface/swmm5)
add_subdirectory(${CMAKE_SOURCE_DIR}/ThirdParty/SWMMInterface) add_subdirectory(${CMAKE_SOURCE_DIR}/ThirdParty/SWMMInterface)
endif() endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment