[CMake] How to add non-source files to a Visual Studio project?

Andrew Fenn andrewfenn at gmail.com
Fri Oct 17 05:01:14 EDT 2008


This method will generate a visual studio sln with the project lib1 inside.

Whatever you want to add to the project lib1 put it into lib1_source
before it calls add_library(lib1, [source files])

On Fri, Oct 17, 2008 at 3:52 PM, Eric Noulard <eric.noulard at gmail.com> wrote:
> Hi Andrew,
>
> Sorry, but I do not understand your answer?
> I have no problem for writing CMakeLists.txt files for lib1/lib2/app1/app2
>
> I dot not know how to add non-source file to a Visual Studio project
> generated with CMake.
>
>
>
> --
> Erk
>


More information about the CMake mailing list