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
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake