149 lines
4.7 KiB
CMake
Executable File
149 lines
4.7 KiB
CMake
Executable File
|
|
if(BUILD_FEM_VTK)
|
|
add_definitions(-DFC_USE_VTK)
|
|
endif(BUILD_FEM_VTK)
|
|
|
|
# suppress warnings from smesh
|
|
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-overloaded-virtual")
|
|
endif()
|
|
|
|
add_subdirectory(App)
|
|
|
|
if(BUILD_GUI)
|
|
add_subdirectory(Gui)
|
|
endif(BUILD_GUI)
|
|
|
|
# changes on the file list here needs to be made in App/CMakeLists.txt as well
|
|
INSTALL(
|
|
FILES
|
|
convert2TetGen.py
|
|
importCcxDatResults.py
|
|
importCcxFrdResults.py
|
|
importFenicsMesh.py
|
|
importInpMesh.py
|
|
importToolsFem.py
|
|
importVTKResults.py
|
|
importZ88Mesh.py
|
|
importZ88O2Results.py
|
|
Init.py
|
|
InitGui.py
|
|
FemGmshTools.py
|
|
FemInputWriter.py
|
|
FemInputWriterCcx.py
|
|
FemInputWriterZ88.py
|
|
FemMesh2Mesh.py
|
|
FemMeshTools.py
|
|
FemSelectionObserver.py
|
|
FemTools.py
|
|
FemToolsCcx.py
|
|
FemToolsZ88.py
|
|
ObjectsFem.py
|
|
TestFem.py
|
|
DESTINATION
|
|
Mod/Fem
|
|
)
|
|
|
|
INSTALL(
|
|
FILES
|
|
PyObjects/__init__.py
|
|
PyObjects/_FemBeamSection.py
|
|
PyObjects/_FemConstraintSelfWeight.py
|
|
PyObjects/_FemFluidSection.py
|
|
PyObjects/_FemMaterialMechanicalNonlinear.py
|
|
PyObjects/_FemMeshGmsh.py
|
|
PyObjects/_FemMeshGroup.py
|
|
PyObjects/_FemMeshRegion.py
|
|
PyObjects/_FemResultMechanical.py
|
|
PyObjects/_FemShellThickness.py
|
|
PyObjects/_FemSolverCalculix.py
|
|
PyObjects/_FemSolverZ88.py
|
|
PyObjects/_FemMaterial.py
|
|
DESTINATION
|
|
Mod/Fem/PyObjects
|
|
)
|
|
|
|
INSTALL(
|
|
FILES
|
|
PyGui/FemCommands.py
|
|
PyGui/__init__.py
|
|
PyGui/_CommandAnalysis.py
|
|
PyGui/_CommandBeamSection.py
|
|
PyGui/_CommandClearMesh.py
|
|
PyGui/_CommandConstraintSelfWeight.py
|
|
PyGui/_CommandFEMMesh2Mesh.py
|
|
PyGui/_CommandFluidSection.py
|
|
PyGui/_CommandMaterialMechanicalNonlinear.py
|
|
PyGui/_CommandMaterialSolid.py
|
|
PyGui/_CommandMaterialFluid.py
|
|
PyGui/_CommandMeshGmshFromShape.py
|
|
PyGui/_CommandMeshNetgenFromShape.py
|
|
PyGui/_CommandMeshGroup.py
|
|
PyGui/_CommandMeshRegion.py
|
|
PyGui/_CommandPrintMeshInfo.py
|
|
PyGui/_CommandPurgeResults.py
|
|
PyGui/_CommandShellThickness.py
|
|
PyGui/_CommandShowResult.py
|
|
PyGui/_CommandSolverCalculix.py
|
|
PyGui/_CommandSolverControl.py
|
|
PyGui/_CommandSolverRun.py
|
|
PyGui/_CommandSolverZ88.py
|
|
PyGui/_TaskPanelFemBeamSection.py
|
|
PyGui/_TaskPanelFemFluidSection.py
|
|
PyGui/_TaskPanelFemMeshGmsh.py
|
|
PyGui/_TaskPanelFemMeshGroup.py
|
|
PyGui/_TaskPanelFemMeshRegion.py
|
|
PyGui/_TaskPanelFemShellThickness.py
|
|
PyGui/_TaskPanelFemSolverCalculix.py
|
|
PyGui/_TaskPanelFemMaterial.py
|
|
PyGui/_TaskPanelShowResult.py
|
|
PyGui/_ViewProviderFemBeamSection.py
|
|
PyGui/_ViewProviderFemConstraintSelfWeight.py
|
|
PyGui/_ViewProviderFemFluidSection.py
|
|
PyGui/_ViewProviderFemMaterialMechanicalNonlinear.py
|
|
PyGui/_ViewProviderFemMeshGmsh.py
|
|
PyGui/_ViewProviderFemMeshGroup.py
|
|
PyGui/_ViewProviderFemMeshRegion.py
|
|
PyGui/_ViewProviderFemResultMechanical.py
|
|
PyGui/_ViewProviderFemShellThickness.py
|
|
PyGui/_ViewProviderFemSolverCalculix.py
|
|
PyGui/_ViewProviderFemSolverZ88.py
|
|
PyGui/_ViewProviderFemMaterial.py
|
|
PyGui/TaskPanelFemBeamSection.ui
|
|
PyGui/TaskPanelFemFluidSection.ui
|
|
PyGui/TaskPanelFemMaterial.ui
|
|
PyGui/TaskPanelFemMeshGmsh.ui
|
|
PyGui/TaskPanelFemMeshGroup.ui
|
|
PyGui/TaskPanelFemMeshRegion.ui
|
|
PyGui/TaskPanelFemShellThickness.ui
|
|
PyGui/TaskPanelFemSolverCalculix.ui
|
|
PyGui/TaskPanelShowResult.ui
|
|
DESTINATION
|
|
Mod/Fem/PyGui
|
|
)
|
|
|
|
INSTALL(
|
|
FILES
|
|
# changes on the file list here needs to be made in App/CMakeLists.txt as well
|
|
test_files/ccx/mesh_points.csv
|
|
test_files/ccx/mesh_volumes.csv
|
|
test_files/ccx/cube_frequency.inp
|
|
test_files/ccx/cube_frequency.dat
|
|
test_files/ccx/cube_frequency.frd
|
|
test_files/ccx/cube_frequency_expected_values
|
|
test_files/ccx/cube_static.inp
|
|
test_files/ccx/cube_static.dat
|
|
test_files/ccx/cube_static.frd
|
|
test_files/ccx/cube_static_expected_values
|
|
test_files/ccx/cube.fcstd
|
|
test_files/ccx/spine_points.csv
|
|
test_files/ccx/spine_volumes.csv
|
|
test_files/ccx/spine_thermomech.inp
|
|
test_files/ccx/spine_thermomech.dat
|
|
test_files/ccx/spine_thermomech.frd
|
|
test_files/ccx/spine_thermomech_expected_values
|
|
test_files/ccx/spine_thermomech.fcstd
|
|
DESTINATION
|
|
Mod/Fem/test_files/ccx
|
|
)
|