Skip to content

Commit

Permalink
remove GLOB from AMP CMake files [#87]
Browse files Browse the repository at this point in the history
  • Loading branch information
ibaned committed Apr 12, 2017
1 parent 6e7fa08 commit bfb2010
Showing 1 changed file with 49 additions and 12 deletions.
61 changes: 49 additions & 12 deletions src/AMP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,62 @@

SET(AMP_DIR ${Albany_SOURCE_DIR}/src/AMP)

file (GLOB amp-problem-sources
"${AMP_DIR}/problems/*.cpp"
set(amp-problem-sources
"${AMP_DIR}/problems/AMPThermoMechanics.cpp"
"${AMP_DIR}/problems/PhaseProblem.cpp"
)
file (GLOB amp-problem-headers
"${AMP_DIR}/problems/*.hpp"
set(amp-problem-headers
"${AMP_DIR}/problems/AMPThermoMechanics.hpp"
"${AMP_DIR}/problems/PhaseProblem.hpp"
)

file (GLOB amp-evaluator-sources
"${AMP_DIR}/evaluators/*.cpp"
set(amp-evaluator-sources
"${AMP_DIR}/evaluators/AMP_Time.cpp"
"${AMP_DIR}/evaluators/EnergyDot.cpp"
"${AMP_DIR}/evaluators/Laser.cpp"
"${AMP_DIR}/evaluators/LaserSource.cpp"
"${AMP_DIR}/evaluators/Local_Porosity.cpp"
"${AMP_DIR}/evaluators/PhaseResidual.cpp"
"${AMP_DIR}/evaluators/PhaseSource.cpp"
"${AMP_DIR}/evaluators/Phi.cpp"
"${AMP_DIR}/evaluators/Psi.cpp"
"${AMP_DIR}/evaluators/RhoCp.cpp"
"${AMP_DIR}/evaluators/ThermalCond.cpp"
)
file (GLOB amp-evaluator-headers
"${AMP_DIR}/evaluators/*.hpp"
set(amp-evaluator-headers
"${AMP_DIR}/evaluators/AMP_Time_Def.hpp"
"${AMP_DIR}/evaluators/AMP_Time.hpp"
"${AMP_DIR}/evaluators/EnergyDot_Def.hpp"
"${AMP_DIR}/evaluators/EnergyDot.hpp"
"${AMP_DIR}/evaluators/Laser.hpp"
"${AMP_DIR}/evaluators/LaserSource_Def.hpp"
"${AMP_DIR}/evaluators/LaserSource.hpp"
"${AMP_DIR}/evaluators/Local_Porosity_Def.hpp"
"${AMP_DIR}/evaluators/Local_Porosity.hpp"
"${AMP_DIR}/evaluators/PhaseResidual_Def.hpp"
"${AMP_DIR}/evaluators/PhaseResidual.hpp"
"${AMP_DIR}/evaluators/PhaseSource_Def.hpp"
"${AMP_DIR}/evaluators/PhaseSource.hpp"
"${AMP_DIR}/evaluators/Phi_Def.hpp"
"${AMP_DIR}/evaluators/Phi.hpp"
"${AMP_DIR}/evaluators/Psi_Def.hpp"
"${AMP_DIR}/evaluators/Psi.hpp"
"${AMP_DIR}/evaluators/RhoCp_Def.hpp"
"${AMP_DIR}/evaluators/RhoCp.hpp"
"${AMP_DIR}/evaluators/ThermalCond_Def.hpp"
"${AMP_DIR}/evaluators/ThermalCond.hpp"
)

file (GLOB amp-response-sources
"${AMP_DIR}/responses/*.cpp"
set(amp-response-sources
"${AMP_DIR}/responses/Energy.cpp"
"${AMP_DIR}/responses/EnergyIntegral.cpp"
"${AMP_DIR}/responses/PathSizeField.cpp"
)
file (GLOB amp-response-headers
"${AMP_DIR}/responses/*.hpp"
set(amp-response-headers
"${AMP_DIR}/responses/Energy_Def.hpp"
"${AMP_DIR}/responses/Energy.hpp"
"${AMP_DIR}/responses/EnergyIntegral.hpp"
"${AMP_DIR}/responses/PathSizeField.hpp"
)

set(SOURCES
Expand Down

0 comments on commit bfb2010

Please sign in to comment.