diff options
author | Brad King <brad.king@kitware.com> | 2009-02-13 20:49:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-13 20:49:47 (GMT) |
commit | 6d8b207867f3bce0e54bf5136de36603972cd3dc (patch) | |
tree | e5d95e627253085ab3eb87de1ac5d756ecc4e1a3 /Source | |
parent | 70b1ed2548aae673c4b798fc18c5b5c91d9ef6d8 (diff) | |
download | CMake-6d8b207867f3bce0e54bf5136de36603972cd3dc.zip CMake-6d8b207867f3bce0e54bf5136de36603972cd3dc.tar.gz CMake-6d8b207867f3bce0e54bf5136de36603972cd3dc.tar.bz2 |
ENH: Add KWSys header files to library targets
This adds the configured KWSys header files to the library targets that
implement their APIs so that they show up in IDE project files.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 91ac64e..c72ec4c 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -729,6 +729,7 @@ FOREACH(c ${KWSYS_CLASSES}) # Configure the header for this class. CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/${c}.hxx.in ${KWSYS_HEADER_DIR}/${c}.hxx @ONLY IMMEDIATE) + SET(KWSYS_CXX_SRCS ${KWSYS_CXX_SRCS} ${KWSYS_HEADER_DIR}/${c}.hxx) # Create an install target for the header. IF(KWSYS_INSTALL_INCLUDE_DIR) @@ -747,6 +748,7 @@ FOREACH(h ${KWSYS_H_FILES}) # Configure the header into the given directory. CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/${h}.h.in ${KWSYS_HEADER_DIR}/${h}.h @ONLY IMMEDIATE) + SET(KWSYS_C_SRCS ${KWSYS_C_SRCS} ${KWSYS_HEADER_DIR}/${h}.h) # Create an install target for the header. IF(KWSYS_INSTALL_INCLUDE_DIR) @@ -765,6 +767,7 @@ FOREACH(h ${KWSYS_HXX_FILES}) # Configure the header into the given directory. CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/${h}.hxx.in ${KWSYS_HEADER_DIR}/${h}.hxx @ONLY IMMEDIATE) + SET(KWSYS_CXX_SRCS ${KWSYS_CXX_SRCS} ${KWSYS_HEADER_DIR}/${h}.hxx) # Create an install target for the header. IF(KWSYS_INSTALL_INCLUDE_DIR) |