* All tools:
- Library linking: there must not be "target_link_library()" for libraries, only when building binaries. Avoid clashes between static module or class variables, and strange reinitialisation of those variables. - Change: Boost is now always linked staticly.
This commit is contained in:
parent
4e0e1326b5
commit
829c48b8ce
|
@ -15,24 +15,11 @@ endif ( HMETIS_FOUND )
|
||||||
metis/Configuration.h
|
metis/Configuration.h
|
||||||
metis/MetisEngine.h
|
metis/MetisEngine.h
|
||||||
)
|
)
|
||||||
# set ( mocIncludes metis/ConfigurationWidget.h
|
|
||||||
# metis/GraphicMaukaEngine.h )
|
|
||||||
set ( cpps MetisGraph.cpp
|
set ( cpps MetisGraph.cpp
|
||||||
Configuration.cpp
|
Configuration.cpp
|
||||||
MetisEngine.cpp
|
MetisEngine.cpp
|
||||||
)
|
)
|
||||||
# qt4_wrap_cpp ( mocCpps ${mocIncludes} )
|
|
||||||
|
|
||||||
|
|
||||||
add_library ( metis ${cpps} ${mocCpps} )
|
add_library ( metis ${cpps} ${mocCpps} )
|
||||||
target_link_libraries ( metis ${HMETIS_LIBRARIES}
|
|
||||||
${NIMBUS_LIBRARIES}
|
|
||||||
${CORIOLIS_LIBRARIES}
|
|
||||||
${HURRICANE_LIBRARIES}
|
|
||||||
${HURRICANE_GRAPHICAL_LIBRARIES}
|
|
||||||
${QT_LIBRARIES}
|
|
||||||
${LEFDEF_LIBRARIES}
|
|
||||||
${OA_LIBRARIES}
|
|
||||||
)
|
|
||||||
install ( TARGETS metis DESTINATION lib${LIB_SUFFIX} )
|
install ( TARGETS metis DESTINATION lib${LIB_SUFFIX} )
|
||||||
install ( FILES ${includes} ${mocIncludes} DESTINATION include/coriolis2/metis )
|
install ( FILES ${includes} ${mocIncludes} DESTINATION include/coriolis2/metis )
|
||||||
|
|
Loading…
Reference in New Issue