[CMake] Other non-source files in VC9

Tyler Roscoe tyler at cryptio.net
Mon Sep 14 16:04:20 EDT 2009


On Mon, Sep 14, 2009 at 01:59:48PM -0600, Dixon, Shane wrote:
> I'm using the MSVC9 generator in Windows XP (CMake 2.6.4).  I have
> several files like "Readme.txt", "News.txt", and "Install.txt" that
> I'd like to show up when I generate a MSVC9 project.  How do I get
> those files to show up in MSVC9?

Just add them as source files in your add_exectuable() or add_library()
command.

tyler


More information about the CMake mailing list