[CMake] Other non-source files in VC9

Dixon, Shane Shane.Dixon at atmel.com
Mon Sep 14 16:21:50 EDT 2009


Tyler,

Ok, that worked, but my project has multiple binaries so I'd prefer the documentation to show up at the top level.  Is there any way to make them show up under the ALL_BUILD target in MSVC9?

--
Shane

-----Original Message-----
From: Tyler Roscoe [mailto:tyler at cryptio.net] 
Sent: Monday, September 14, 2009 2:04 PM
To: Dixon, Shane
Cc: cmake at cmake.org
Subject: Re: [CMake] Other non-source files in VC9

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