Skip to content
Snippets Groups Projects
Commit d52f1f14 authored by Langella Olivier's avatar Langella Olivier
Browse files

boost libraries

parent e04dcd7f
No related branches found
No related tags found
No related merge requests found
......@@ -58,9 +58,19 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake_modules)
if (Pwiz_FOUND)
else (Pwiz_FOUND)
FIND_PACKAGE(Pwiz REQUIRED)
FIND_PACKAGE(Pwiz REQUIRED COMPONENTS chrono filesystem iostreams program_options serialization system thread)
endif (Pwiz_FOUND)
if (Boost_FOUND)
else (Boost_FOUND)
FIND_PACKAGE(Boost REQUIRED)
endif (Boost_FOUND)
if (Boost_FOUND)
MESSAGE("Boost_LIBRARIES found ${Boost_LIBRARIES}")
endif (Boost_FOUND)
IF (Pwiz_FOUND)
......@@ -231,7 +241,7 @@ target_compile_definitions(xtpcpp PUBLIC ${QT_DEFINITIONS})
#COMPILE_DEFINITIONS "${QT_DEFINITIONS}"
#INCLUDE_DIRECTORIES "${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR}"
)
TARGET_LINK_LIBRARIES(xtpcpp ${PAPPSOMSPP_QT5_LIBRARY} ${PAPPSOMSPP_WIDGET_QT5_LIBRARY} ${Pwiz_LIBRARY} ${ODSSTREAM_QT5_LIBRARY} ${QCustomPlot_LIBRARIES}
TARGET_LINK_LIBRARIES(xtpcpp ${PAPPSOMSPP_QT5_LIBRARY} ${PAPPSOMSPP_WIDGET_QT5_LIBRARY} ${Pwiz_LIBRARY} ${ODSSTREAM_QT5_LIBRARY} ${QCustomPlot_LIBRARIES} ${Boost_LIBRARIES}
Qt5::Gui Qt5::Xml Qt5::Svg Qt5::PrintSupport)
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/xtpcpp DESTINATION bin)
......
......@@ -39,4 +39,15 @@ set(PAPPSOMSPP_WIDGET_QT5_LIBRARY "/home/polipo/devel/pappsomspp/build/libpappso
set(Pwiz_FOUND 1)
set(Pwiz_INCLUDE_DIR "/home/polipo/devel/proteowizard/pwiz-autotools/pwiz/includes/libpwiz")
set(Pwiz_LIBRARY "/home/polipo/devel/proteowizard/libpwiz.dll")
set(Boost_FOUND 1)
set(Boost_INCLUDE_DIRS "/home/polipo/devel/boost/boost_1_56_0")
set(Boost_LIBRARY_DIRS "/home/polipo/devel/boost/boost_1_56_0/first-build-mingw64/lib")
set(Boost_LIBRARIES "/home/polipo/devel/boost/boost_1_56_0/first-build-mingw64/lib/libboost_chrono.dll
/home/polipo/devel/boost/boost_1_56_0/first-build-mingw64/lib/libboost_filesystem.dll
/home/polipo/devel/boost/boost_1_56_0/first-build-mingw64/lib/libboost_iostreams.dll
/home/polipo/devel/boost/boost_1_56_0/first-build-mingw64/lib/libboost_program_options.dll
/home/polipo/devel/boost/boost_1_56_0/first-build-mingw64/lib/libboost_serialization.dll
/home/polipo/devel/boost/boost_1_56_0/first-build-mingw64/lib/libboost_system.dll
/home/polipo/devel/boost/boost_1_56_0/first-build-mingw64/lib/libboost_thread.dll")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment