our project contains a directory with config files. to make the config 
files (and other externally supplied header files) visible in the visual 
studio solution, the custom command shown below was specified in the 
directory.

this worked well with the generator for Visual Studio 2005. it doesn't any 
more with the generator for visual studio 2010.

- is this intentional or is it a bug?
- what can i do to fix this?

/regards   Walter Schwarz


# Targets: none - placeholder for Murex headers
# 
----------------------------------------------------------------------------
# Library: none
# 
----------------------------------------------------------------------------

set( etc_hdrs
      ${FLEX_INCLUDE_DIRS}/mdtypes.h
      ... list shortened ...
)

set( etc_srcs FlexModelConfig.cfg configFile.txt )

include_directories(
        ${FLEX_INCLUDE_DIRS} 
)

add_custom_target( etc SOURCES ${etc_hdrs} ${etc_srcs} )
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to