Put generated header files in a separate list.

This commit is contained in:
Vincent Richard 2013-05-13 12:23:06 +02:00
parent 38ced8cb4b
commit 20c1358402

View File

@ -78,7 +78,7 @@ FILE(
vmime/*
)
LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/config.hpp")
LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "vmime/config.hpp")
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
@ -110,7 +110,7 @@ IF(VMIME_BUILD_SHARED_LIBRARY)
EXPORT_FILE_NAME ${CMAKE_SOURCE_DIR}/vmime/export-shared.hpp
)
LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/export-shared.hpp")
LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "vmime/export-shared.hpp")
SET_TARGET_PROPERTIES(
${VMIME_LIBRARY_NAME}
@ -148,7 +148,7 @@ IF(VMIME_BUILD_STATIC_LIBRARY)
EXPORT_FILE_NAME ${CMAKE_SOURCE_DIR}/vmime/export-static.hpp
)
LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/export-static.hpp")
LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "vmime/export-static.hpp")
SET_TARGET_PROPERTIES(
${VMIME_LIBRARY_NAME}-static