openEMS/FDTD/CMakeLists.txt

31 lines
1.1 KiB
CMake

if (WITH_MPI)
set(MPI_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/openems_fdtd_mpi.cpp
${CMAKE_CURRENT_SOURCE_DIR}/operator_mpi.cpp
${CMAKE_CURRENT_SOURCE_DIR}/engine_mpi.cpp
)
endif()
set(SOURCES
${SOURCES}
${MPI_SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/engine.cpp
${CMAKE_CURRENT_SOURCE_DIR}/operator.cpp
${CMAKE_CURRENT_SOURCE_DIR}/engine_multithread.cpp
${CMAKE_CURRENT_SOURCE_DIR}/operator_cylinder.cpp
${CMAKE_CURRENT_SOURCE_DIR}/engine_cylinder.cpp
${CMAKE_CURRENT_SOURCE_DIR}/engine_sse.cpp
${CMAKE_CURRENT_SOURCE_DIR}/operator_sse.cpp
${CMAKE_CURRENT_SOURCE_DIR}/operator_sse_compressed.cpp
${CMAKE_CURRENT_SOURCE_DIR}/engine_sse_compressed.cpp
${CMAKE_CURRENT_SOURCE_DIR}/operator_multithread.cpp
${CMAKE_CURRENT_SOURCE_DIR}/excitation.cpp
${CMAKE_CURRENT_SOURCE_DIR}/operator_cylindermultigrid.cpp
${CMAKE_CURRENT_SOURCE_DIR}/engine_cylindermultigrid.cpp
${CMAKE_CURRENT_SOURCE_DIR}/engine_interface_fdtd.cpp
${CMAKE_CURRENT_SOURCE_DIR}/engine_interface_sse_fdtd.cpp
${CMAKE_CURRENT_SOURCE_DIR}/engine_interface_cylindrical_fdtd.cpp
PARENT_SCOPE
)