Commit 30215062 authored by GILLES Sebastien's avatar GILLES Sebastien

#1217 CMake: add EnsightOutput targets and use the proper case for all target names.

parent c0dd2cbf
add_library(MoReFEM4elasticity_lib ${LIBRARY_TYPE} "")
add_library(MoReFEM4Elasticity_lib ${LIBRARY_TYPE} "")
target_sources(MoReFEM4elasticity_lib
target_sources(MoReFEM4Elasticity_lib
PRIVATE
"${CMAKE_CURRENT_LIST_DIR}/ElasticityModel.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/VariationalFormulationElasticity.cpp"
......@@ -12,21 +12,21 @@ target_sources(MoReFEM4elasticity_lib
"${CMAKE_CURRENT_LIST_DIR}/VariationalFormulationElasticity.hxx"
)
target_link_libraries(MoReFEM4elasticity_lib
target_link_libraries(MoReFEM4Elasticity_lib
${MOREFEM_MODEL}
${ALL_LOAD_FLAG})
add_executable(MoReFEM4elasticity ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4elasticity
MoReFEM4elasticity_lib)
add_executable(MoReFEM4Elasticity ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4Elasticity
MoReFEM4Elasticity_lib)
morefem_install(MoReFEM4elasticity MoReFEM4elasticity_lib)
morefem_install(MoReFEM4Elasticity MoReFEM4Elasticity_lib)
add_executable(MoReFEM4elasticityEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_output.cpp)
target_link_libraries(MoReFEM4elasticityEnsightOutput
MoReFEM4elasticity_lib
add_executable(MoReFEM4ElasticityEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_output.cpp)
target_link_libraries(MoReFEM4ElasticityEnsightOutput
MoReFEM4Elasticity_lib
MoReFEMPostProcessing_lib)
morefem_install(MoReFEM4elasticityEnsightOutput)
morefem_install(MoReFEM4ElasticityEnsightOutput)
add_library(MoReFEM4heat_lib ${LIBRARY_TYPE} "")
add_library(MoReFEM4Heat_lib ${LIBRARY_TYPE} "")
target_sources(MoReFEM4heat_lib
target_sources(MoReFEM4Heat_lib
PRIVATE
"${CMAKE_CURRENT_LIST_DIR}/HeatModel.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/HeatVariationalFormulation.cpp"
......@@ -12,13 +12,20 @@ target_sources(MoReFEM4heat_lib
"${CMAKE_CURRENT_LIST_DIR}/InputParameterList.hpp"
)
target_link_libraries(MoReFEM4heat_lib
target_link_libraries(MoReFEM4Heat_lib
${MOREFEM_MODEL}
${ALL_LOAD_FLAG})
add_executable(MoReFEM4heat ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4heat
MoReFEM4heat_lib)
add_executable(MoReFEM4Heat ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4Heat
MoReFEM4Heat_lib)
morefem_install(MoReFEM4heat MoReFEM4heat_lib)
\ No newline at end of file
morefem_install(MoReFEM4Heat MoReFEM4Heat_lib)
add_executable(MoReFEM4HeatEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_output.cpp)
target_link_libraries(MoReFEM4HeatEnsightOutput
MoReFEM4Heat_lib
MoReFEMPostProcessing_lib)
morefem_install(MoReFEM4HeatEnsightOutput)
\ No newline at end of file
add_library(MoReFEM4hyperelasticity_lib ${LIBRARY_TYPE} "")
add_library(MoReFEM4Hyperelasticity_lib ${LIBRARY_TYPE} "")
target_sources(MoReFEM4hyperelasticity_lib
target_sources(MoReFEM4Hyperelasticity_lib
PRIVATE
"${CMAKE_CURRENT_LIST_DIR}/Model.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/VariationalFormulation.cpp"
......@@ -12,13 +12,20 @@ target_sources(MoReFEM4hyperelasticity_lib
"${CMAKE_CURRENT_LIST_DIR}/VariationalFormulation.hxx"
)
target_link_libraries(MoReFEM4hyperelasticity_lib
target_link_libraries(MoReFEM4Hyperelasticity_lib
${MOREFEM_MODEL}
${ALL_LOAD_FLAG})
add_executable(MoReFEM4hyperelasticity ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4hyperelasticity
MoReFEM4hyperelasticity_lib)
add_executable(MoReFEM4Hyperelasticity ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4Hyperelasticity
MoReFEM4Hyperelasticity_lib)
morefem_install(MoReFEM4hyperelasticity MoReFEM4hyperelasticity_lib)
morefem_install(MoReFEM4Hyperelasticity MoReFEM4Hyperelasticity_lib)
add_executable(MoReFEM4HyperelasticityEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_output.cpp)
target_link_libraries(MoReFEM4HyperelasticityEnsightOutput
MoReFEM4Hyperelasticity_lib
MoReFEMPostProcessing_lib)
morefem_install(MoReFEM4HyperelasticityEnsightOutput)
add_library(MoReFEM4laplacian_lib ${LIBRARY_TYPE} "")
add_library(MoReFEM4Laplacian_lib ${LIBRARY_TYPE} "")
target_sources(MoReFEM4laplacian_lib
target_sources(MoReFEM4Laplacian_lib
PRIVATE
"${CMAKE_CURRENT_LIST_DIR}/Model.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/VariationalFormulation.cpp"
......@@ -12,14 +12,20 @@ target_sources(MoReFEM4laplacian_lib
"${CMAKE_CURRENT_LIST_DIR}/VariationalFormulation.hxx"
)
target_link_libraries(MoReFEM4laplacian_lib
target_link_libraries(MoReFEM4Laplacian_lib
${MOREFEM_MODEL}
${ALL_LOAD_FLAG})
add_executable(MoReFEM4laplacian ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4laplacian
MoReFEM4laplacian_lib)
add_executable(MoReFEM4Laplacian ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4Laplacian
MoReFEM4Laplacian_lib)
morefem_install(MoReFEM4laplacian MoReFEM4laplacian_lib)
\ No newline at end of file
morefem_install(MoReFEM4Laplacian MoReFEM4Laplacian_lib)
add_executable(MoReFEM4LaplacianEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_output.cpp)
target_link_libraries(MoReFEM4LaplacianEnsightOutput
MoReFEM4Laplacian_lib
MoReFEMPostProcessing_lib)
morefem_install(MoReFEM4LaplacianEnsightOutput)
\ No newline at end of file
......@@ -21,4 +21,11 @@ add_executable(MoReFEM4RivlinCube ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4RivlinCube
MoReFEM4RivlinCube_lib)
morefem_install(MoReFEM4RivlinCube MoReFEM4RivlinCube_lib)
\ No newline at end of file
morefem_install(MoReFEM4RivlinCube MoReFEM4RivlinCube_lib)
add_executable(MoReFEM4RivlinCubeEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_output.cpp)
target_link_libraries(MoReFEM4RivlinCubeEnsightOutput
MoReFEM4RivlinCube_lib
MoReFEMPostProcessing_lib)
morefem_install(MoReFEM4RivlinCubeEnsightOutput)
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment