[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] How does cmake handle windows rc files?
From: "William A. Hoffman" <billlist () nycap ! rr ! com>
Date: 2006-08-31 13:32:00
Message-ID: 6.2.3.4.2.20060831093005.0ac324c0 () pop ! nycap ! rr ! com
[Download RAW message or body]
At 09:21 AM 8/31/2006, Jon Trauntvein wrote:
> I have been successfully using cmake to build projects on non-windows
> platforms (Linux) but have been using visual studio projects to build
> these under windows basically because these projects already existed. I
> have been so pleased with the results of the linux builds that I am
> ready to start a new project and use cmake to configure all platforms.
> That being said, I find myself wondering how to specify resource
> related files (.rc icons, etc.) in the CMakeLists.txt file. I have been
> searching in the documentation/wiki and found no reference to this.
> Perhaps I am being a bit dense on the matter but I would appreciate any
> pointers on doing this.
Just put the .rc files in the source list of the target.
CMakeSetup dialog is a good example:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/MFCDialog/CMakeLists.txt?rev=1.10&root=CMake&view=markup
-Bill
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic