target_sources(WarpX PRIVATE AcceleratorLattice.cpp LatticeElementFinder.cpp ) add_subdirectory(LatticeElements)