[CMake] Adding non-compiled files to project?
Mike Jackson
imikejackson at gmail.com
Mon Jun 23 11:56:18 EDT 2008
Quick example:
SET (SRCS Example.cpp)
SET (HEADERS Example.h)
Add_Executable (test ${SRCS} ${HEADERS} )
HTH
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Jun 23, 2008, at 11:22 AM, Mike Arthur wrote:
> It seems that the CMake Visual Studio 2008 project generator won't
> add any
> source files that it doesn't use in a add_executable or add_library
> call.
> I've tried manually adding others using source_group but this
> doesn't seem to
> make any difference.
>
> How do I add e.g. headers to my projects?
> --
> Cheers,
> Mike Arthur
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list