[CMake] Adding unused files to the generated project

Alexander Neundorf a.neundorf-work at gmx.net
Mon Sep 23 15:52:04 EDT 2013


On Sunday 22 September 2013, Lucas Soltic wrote:
> Hello,
> 
> Is it possible to add files that do not belong to any
> add_executable/library so that they're visible in the IDE but not used for
> building? That way I could easily work with the generated project on any
> useful file, even if it's not directly used to produce binaries (for
> example, editing CMakeLists.txt from the IDE).

What IDE/generator are you using ?
The CMakeLists.txt etc. are added by some generators, but probably not by all. 
But it should be possible to do.

Alex


More information about the CMake mailing list