Fixed location of config and lib export include files.

This commit is contained in:
Vincent Richard 2016-03-25 08:25:43 +01:00
parent 12781598bd
commit fed1469ade
2 changed files with 7 additions and 7 deletions

View File

@ -30,8 +30,8 @@ script:
- cd _build - cd _build
- cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
- cmake .. -L - cmake .. -L
- cat ../src/vmime/config.hpp - cat ./src/vmime/config.hpp
- cat ../src/vmime/export-shared.hpp - cat ./src/vmime/export-shared.hpp
- cat ../src/vmime/export-static.hpp - cat ./src/vmime/export-static.hpp
- cmake --build . --target install - cmake --build . --target install
- ctest - ctest

View File

@ -118,10 +118,10 @@ IF(VMIME_BUILD_SHARED_LIBRARY)
COPY COPY
${CMAKE_CURRENT_BINARY_DIR}/export-shared.hpp ${CMAKE_CURRENT_BINARY_DIR}/export-shared.hpp
DESTINATION DESTINATION
${PROJECT_SOURCE_DIR}/src/vmime ${CMAKE_BINARY_DIR}/src/vmime
) )
LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/vmime/export-shared.hpp") LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "${CMAKE_BINARY_DIR}/src/vmime/export-shared.hpp")
SET_TARGET_PROPERTIES( SET_TARGET_PROPERTIES(
${VMIME_LIBRARY_NAME} ${VMIME_LIBRARY_NAME}
@ -163,10 +163,10 @@ IF(VMIME_BUILD_STATIC_LIBRARY)
COPY COPY
${CMAKE_CURRENT_BINARY_DIR}/export-static.hpp ${CMAKE_CURRENT_BINARY_DIR}/export-static.hpp
DESTINATION DESTINATION
${PROJECT_SOURCE_DIR}/src/vmime ${CMAKE_BINARY_DIR}/src/vmime
) )
LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/vmime/export-static.hpp") LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "${CMAKE_BINARY_DIR}/src/vmime/export-static.hpp")
SET_TARGET_PROPERTIES( SET_TARGET_PROPERTIES(
${VMIME_LIBRARY_NAME}-static ${VMIME_LIBRARY_NAME}-static