Commit 3bf59a80 authored by MIJIEUX Thomas's avatar MIJIEUX Thomas

update org files for new test arch

parent 3d5f3ed2
......@@ -10,7 +10,8 @@ set(FABULOUS_VERSION_MICRO 1)
##### RPATH HANDLING ####
STRING(REPLACE ":" ";" _ld_lib_path_env "$ENV{LD_LIBRARY_PATH}")
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib" ${_ld_lib_path_env})
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib" "${_ld_lib_path_env}")
SET(CMAKE_BUILD_RPATH "${CMAKE_INSTALL_RPATH}")
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
......
......@@ -191,6 +191,7 @@ cd ${WORKDIR}/build
cmake .. -DCMAKE_BUILD_TYPE=Debug \
-DFABULOUS_DEBUG_MODE=ON \
-DFABULOUS_BUILD_EXAMPLES=ON \
-DFABULOUS_BUILD_TESTS=ON \
-DFABULOUS_USE_CHAMELEON=ON
#+END_SRC
......@@ -225,8 +226,8 @@ cd ${WORKDIR}/build
CC="${WORKDIR}/scripts/cc_args.py gcc" CXX="${WORKDIR}/scripts/cc_args.py g++" \
cmake .. -DCMAKE_BUILD_TYPE=Debug \
-DFABULOUS_DEBUG_MODE=ON \
-DFABULOUS_USE_CHAMELEON=ON \
-DFABULOUS_BUILD_EXAMPLES=ON \
-DFABULOUS_BUILD_TESTS=ON \
-DFABULOUS_USE_CHAMELEON=ON
#+END_SRC
......
This diff is collapsed.
......@@ -5,13 +5,12 @@ SET(FABULOUS_EXAMPLES_SRC
FOREACH(_test ${FABULOUS_EXAMPLES_SRC})
GET_FILENAME_COMPONENT(_name_exe ${_test} NAME_WE)
ADD_EXECUTABLE(${_name_exe} ${_test})
TARGET_LINK_LIBRARIES(${_name_exe} ${FABULOUS_BASIC_LIBRARIES})
TARGET_COMPILE_DEFINITIONS(${_name_exe} PRIVATE ${FABULOUS_BASIC_DEFINITIONS})
INSTALL(
TARGETS ${_name_exe}
DESTINATION lib/fabulous/examples/core/
DESTINATION lib/fabulous/examples/
)
ENDFOREACH()
......@@ -29,6 +28,6 @@ FOREACH(_test ${FABULOUS_EXAMPLES_API_SRC})
TARGET_INCLUDE_DIRECTORIES(${_name_exe} PRIVATE ../api/include)
INSTALL(
TARGETS ${_name_exe}
DESTINATION lib/fabulous/examples/api/
DESTINATION lib/fabulous/examples/
)
ENDFOREACH()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment