TRIBITS_SUBPACKAGE(core) TRIBITS_CONFIGURE_FILE(visibility.hh) SET(HEADERS system.hh stringfunctions.i.hh stringfunctions.hh ) SET(SOURCES system.cc stringfunctions.cc ) TRIBITS_ADD_LIBRARY(radixcore SOURCES ${SOURCES} NOINSTALLHEADERS ${HEADERS} ) # # Resolve MINGW linking of psapi library IF(MINGW) FIND_LIBRARY(PSAPI psapi) MESSAGE(STATUS "Checking required PSAPI library") TARGET_LINK_LIBRARIES(radixcore "${PSAPI}") ENDIF() # # Add testing directory TRIBITS_ADD_TEST_DIRECTORIES(tests) INSTALL(FILES ${HEADERS} DESTINATION "include/radixcore/") TRIBITS_SUBPACKAGE_POSTPROCESS()