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

possible compilation with customized toolchain

parent 22462a0b
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,15 @@ message("cmake -G \"Unix Makefiles\" -DCMAKE_BUILD_TYPE=Debug ../development")
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES /usr/include)
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES /usr/include)
find_package( OdsStream REQUIRED )
if (NOT OdsStream_FOUND)
find_package( OdsStream REQUIRED )
endif (NOT OdsStream_FOUND)
find_package ( PappsoMSpp REQUIRED )
if (NOT PappsoMSpp_FOUND)
find_package ( PappsoMSpp REQUIRED )
endif (NOT PappsoMSpp_FOUND)
#find_package( Boost COMPONENTS iostreams thread filesystem chrono REQUIRED )
find_package( Boost COMPONENTS thread filesystem iostreams REQUIRED )
......
......@@ -14,17 +14,17 @@ set(PAPPSOMSPP_WIDGET_QT5_LIBRARY "/home/olivier/eclipse/git/pappsomspp/cbuild/s
if(NOT TARGET Pappso::Core)
add_library(Pappso::Core UNKNOWN IMPORTED)
set_target_properties(Pappso::Core PROPERTIES
if(NOT TARGET PappsoMSpp::Core)
add_library(PappsoMSpp::Core UNKNOWN IMPORTED)
set_target_properties(PappsoMSpp::Core PROPERTIES
IMPORTED_LOCATION "${PAPPSOMSPP_QT5_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${PAPPSOMSPP_INCLUDE_DIR}")
endif()
if(NOT TARGET Pappso::Widget)
add_library(Pappso::Widget UNKNOWN IMPORTED)
set_target_properties(Pappso::Widget PROPERTIES
if(NOT TARGET PappsoMSpp::Widget)
add_library(PappsoMSpp::Widget UNKNOWN IMPORTED)
set_target_properties(PappsoMSpp::Widget PROPERTIES
IMPORTED_LOCATION "${PAPPSOMSPP_WIDGET_QT5_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${PAPPSOMSPP_INCLUDE_DIR}")
endif()
......
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