# src/apps/molresponse

add_subdirectory(testing)
# Set the CHEM sources and header files
set(MOLRESPONSE_SOURCES
        ResponseBase.cpp
        ExcitedResponse.cpp
        FrequencyResponse.cpp
        property.cc
        global_functions.cc
        timer.cc
        basic_operators.cc
        Plot_VTK.cc
        response_parameters.cpp
        x_space.cc
        )
set(MOLRESPONSE_HEADERS
        ResponseBase.hpp
        ExcitedResponse.hpp
        FrequencyResponse.hpp
        density.h
        property.h
        x_space.h
        global_functions.h
        timer.h
        basic_operators.h
        Plot_VTK.h
        response_parameters.h
        )
# Create the MADchem library
add_mad_library(response MOLRESPONSE_SOURCES MOLRESPONSE_HEADERS "chem" "madness/chem/molresponse/")

set(targetname MADresponse)
add_mad_executable(molresponse "molresponse.cc" "MADresponse;MADchem")


set(R_BASE_SOURCES
        ResponseBase.cpp
        ExcitedResponse.cpp
        FrequencyResponse.cpp
        property.cc
        global_functions.cc
        timer.cc
        basic_operators.cc
        Plot_VTK.cc
        response_parameters.cpp
        x_space.cc
        )

set(R_BASE_HEADERS
        ResponseBase.hpp
        ExcitedResponse.hpp
        FrequencyResponse.hpp
        density.h
        property.h
        global_functions.h
        x_space.h
        timer.h
        basic_operators.h
        Plot_VTK.h
        response_parameters.h
        )
# Create the MADchem library
add_mad_library(response_base R_BASE_SOURCES R_BASE_HEADERS "chem" "molresponse/")

set(targetname MADresponse_base)

set(RALL_SOURCES
        ResponseBase.cpp
        ExcitedResponse.cpp
        FrequencyResponse.cpp
        property.cc
        global_functions.cc
        timer.cc
        basic_operators.cc
        Plot_VTK.cc
        response_parameters.cpp
        calc_runner.cc
        iterate_excited.cc
        Lambda_X.cc
        Theta_X.cc
        x_space.cc
        )

set(RALL_HEADERS
        ResponseBase.hpp
        ExcitedResponse.hpp
        FrequencyResponse.hpp
        property.h
        global_functions.h
        timer.h
        basic_operators.h
        Plot_VTK.h
        response_parameters.h
        x_space.h
        )
add_mad_library(all_response RALL_SOURCES RALL_HEADERS "chem" "molresponse/")
set(targetname MADall_response)
