Skip to content

Commit

Permalink
cmp - clean cmake files
Browse files Browse the repository at this point in the history
  • Loading branch information
claudioperez committed Sep 19, 2021
1 parent e964a5c commit 289594c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 23 deletions.
1 change: 1 addition & 0 deletions OTHER/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)

add_subdirectory(AMD/)
add_subdirectory(UMFPACK/)
add_subdirectory(ITPACK/)
add_subdirectory(ARPACK/)
add_subdirectory(SuperLU_5.1.1/)
add_subdirectory(CSPARSE/)
Expand Down
16 changes: 9 additions & 7 deletions SRC/domain/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@

#add_library(domain OBJECT)

#target_include_directories(domain PUBLIC ${CMAKE_CURRENT_LIST_DIR})
#==============================================================================
#
# OpenSees -- Open System For Earthquake Engineering Simulation
# Pacific Earthquake Engineering Research Center
#
#==============================================================================

add_subdirectory(component)
add_subdirectory(domain)
add_subdirectory(load)
add_subdirectory(node)
add_subdirectory(subdomain)
add_subdirectory(load)
add_subdirectory(node)
add_subdirectory(subdomain)
add_subdirectory(constraints)
add_subdirectory(pattern)
add_subdirectory(groundMotion)
Expand Down
6 changes: 2 additions & 4 deletions SRC/element/HUelements/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@

target_sources(OPS_Element
PRIVATE
PRIVATE
MultipleShearSpring.cpp
MultipleNormalSpring.cpp
DBESI0.c
DBESI1.c
YamamotoBiaxialHDR.cpp
KikuchiBearing.cpp
PUBLIC
PUBLIC
MultipleShearSpring.h
MultipleNormalSpring.h
#DBESI0.h
#DBESI1.h
YamamotoBiaxialHDR.h
KikuchiBearing.h
)
Expand Down
4 changes: 0 additions & 4 deletions SRC/element/TclElementCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,9 @@ extern void* OPS_MVLEM_3D(void); // Kristijan Kolozvari
extern void* OPS_SFI_MVLEM_3D(void); // Kristijan Kolozvari
extern void *OPS_AxEqDispBeamColumn2d(void);
extern void *OPS_ElastomericBearingBoucWenMod3d(void);
#if defined(OPSDEF_ELEMENT_PFEM)
extern void *OPS_PFEMElement2DBubble(const ID &info);
extern void *OPS_PFEMElement2Dmini(const ID &info);
extern void *OPS_PFEMElement2D();
#endif
#if defined(_HAVE_LHNMYS) || defined(OPSDEF_ELEMENT_LHNMYS)
extern void* OPS_BeamColumn2DwLHNMYS(void);
extern void* OPS_BeamColumn2DwLHNMYS_Damage(void);
Expand Down Expand Up @@ -195,10 +193,8 @@ extern void *OPS_BeamGT(void);
extern void* OPS_DispBeamColumnAsym3dTcl(); //Xinlong Du
extern void* OPS_MixedBeamColumnAsym3dTcl(); //Xinlong Du

#if defined(OPSDEF_Element_FEAP)
extern int TclModelBuilder_addFeapTruss(ClientData clientData, Tcl_Interp *interp, int argc,
TCL_Char **argv, Domain*, TclModelBuilder *, int argStart);
#endif // _OPS_Element_FEAP

extern int
Tcl_addWrapperElement(eleObj *, ClientData clientData, Tcl_Interp *interp, int argc,
Expand Down
14 changes: 6 additions & 8 deletions SRC/element/beam3d/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
add_library(OPS_Element_beam3d OBJECT)

target_sources(OPS_Element_beam3d
PRIVATE
beam3d01.cpp
beam3d02.cpp
PUBLIC
beam3d01.h
beam3d02.h
opensees_elements(OPS_Element_beam3d
SOURCES
beam3d01.cpp
beam3d02.cpp
beam3d01.h
beam3d02.h
)

target_include_directories(OPS_Element_beam3d PUBLIC ${CMAKE_CURRENT_LIST_DIR})
Expand Down

0 comments on commit 289594c

Please sign in to comment.