You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
539 B
24 lines
539 B
2 years ago
|
INCLUDE(FortranSettings)
|
||
|
|
||
|
TRIBITS_SUBPACKAGE(PLT)
|
||
|
|
||
|
SET(PLT_VERSION_MAJOR "1")
|
||
|
SET(PLT_VERSION_MINOR "0")
|
||
|
SET(PLT_VERSION_PATCH "0")
|
||
|
SET(PLT_VERSION "${PLT_VERSION_MAJOR}.${PLT_VERSION_MINOR}")
|
||
|
SET(PLT_VERSION_FULL "${PLT_VERSION}.${PLT_VERSION_PATCH}")
|
||
|
|
||
|
SET(SOURCES "")
|
||
|
TRIBITS_SET_AND_INC_DIRS(DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||
|
|
||
|
APPEND_GLOB(SOURCES ${DIR}/*.f ${DIR}/*.F ${DIR}/*.c)
|
||
|
|
||
|
TRIBITS_ADD_LIBRARY(
|
||
|
plt
|
||
|
STATIC
|
||
|
SOURCES ${SOURCES}
|
||
|
)
|
||
|
SET_PROPERTY(TARGET plt PROPERTY POSITION_INDEPENDENT_CODE TRUE)
|
||
|
|
||
|
TRIBITS_SUBPACKAGE_POSTPROCESS()
|