[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    [CMake] Tweak CMake project to include non-buildable files in the CodeBlocks project file
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2015-01-11 21:27:49
Message-ID: CAExHGmSkMzk7Rzd30sWSS=LbkA+U6s=gvs-vxGG_PtD5Ow=Rjg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I'm using QtCreator with CMake and have several files that are included in
targets depending on the platform on which I build.

Files that are not enabled on the current platform will not be included by
CMake in the CodeBlocks file which in turn is used by QtCreator.

Since QtCreator only picks up files listed in the CodeBlocks project file
for its project view I cannot easily open certain files using QtCreator.

I'm wondering wether CMake has a mechanism that would make these files show
up in the CodeBlocks project file without them being actually compiled by
the project build (I'm using Ninja for that part)? I was thinking of
something similar to what can be used to create groups etc. for VS projects.

Andreas

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div><br></div><div>I&#39;m using QtCreator with CMake and have \
several files that are included in targets depending on the platform on which I \
build.</div><div><br></div><div>Files that are not enabled on the current platform \
will not be included by CMake in the CodeBlocks file which in turn is used by \
QtCreator.</div><div><br></div><div>Since QtCreator only picks up files listed in the \
CodeBlocks project file for its project view I cannot easily open certain files using \
QtCreator.</div><div><br></div><div>I&#39;m wondering wether CMake has a mechanism \
that would make these files show up in the CodeBlocks project file without them being \
actually compiled by the project build (I&#39;m using Ninja for that part)? I was \
thinking of something similar to what can be used to create groups etc. for VS \
projects.</div><div><br></div><div>Andreas</div></div>



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic