Changeset 19671 for trunk/FACT++


Ignore:
Timestamp:
09/23/19 20:37:30 (5 years ago)
Author:
tbretz
Message:
This seems to be a minimalistic way to link the libraries -- I had problems on ihp-pc45 with the old scheme. Not sure why it doesn't know libm though.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19490 r19671  
    382382        erfa/src/pap.c          erfa/src/fad03.c        erfa/src/pmp.c
    383383        erfa/src/tr.c           erfa/src/falp03.c)
     384TARGET_LINK_LIBRARIES(Pointing PUBLIC m)
    384385
    385386# ======================= libDim.so ======================
     
    409410#        src/DimSetup.h
    410411        src/DimSetup.cc)
     412TARGET_LINK_LIBRARIES(DimExtension PUBLIC
     413        Boost::system)
    411414
    412415# ===================== libDim++.so ======================
     
    425428        dim/src/discpp.cxx
    426429        dim/src/tokenstring.cxx)
     430TARGET_LINK_LIBRARIES(Dim++ PUBLIC Dim)
    427431
    428432# ================= libStateMachine.so ===================
     
    458462#       FACT.h ByteOrder.h
    459463        src/DimWriteStatistics.h src/DimWriteStatistics.cc)
    460 TARGET_LINK_LIBRARIES(StateMachine OpenSSL::SSL)
     464TARGET_LINK_LIBRARIES(StateMachine PUBLIC
     465        readline ${CURSES_LIBRARIES} panel
     466        Tools Time Dim++
     467        Boost::regex
     468        Boost::thread
     469        Boost::filesystem
     470        OpenSSL::SSL)
    461471
    462472ENDIF (NOT TOOLS_ONLY)
     
    466476        src/Configuration.h src/Configuration.cc
    467477        src/FACT.h src/FACT.cc)
    468 TARGET_LINK_LIBRARIES(Configuration
     478TARGET_LINK_LIBRARIES(Configuration PUBLIC
    469479        Boost::regex
    470480        Boost::system
     
    476486ADD_LIBRARY(Time SHARED
    477487        src/Time.h src/Time.cc)
    478 TARGET_LINK_LIBRARIES(Time ${NOVA_LIBRARY})
     488TARGET_LINK_LIBRARIES(Time PUBLIC ${NOVA_LIBRARY})
    479489
    480490# ===================== libTools.so ======================
     
    613623# ********************************************************
    614624
    615 SET(FACT++LIBS
    616         StateMachine Tools Configuration Time Dim++ Dim DimExtension
    617         readline ${CURSES_LIBRARIES} panel Boost::thread) # HAVE_SQL
     625SET(FACT++LIBS StateMachine Configuration DimExtension)
    618626
    619627# --------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.