[Bro-Dev] #413: Headers not added to CMake-generated Xcode project

Bro Tracker bro at tracker.icir.org
Wed Mar 16 09:43:37 PDT 2011


#413: Headers not added to CMake-generated Xcode project
--------------------+------------------------
 Reporter:  jsiwek  |      Owner:  jsiwek
     Type:  Task    |     Status:  new
 Priority:  Low     |  Milestone:  Bro1.6
Component:  Bro     |    Version:  git/master
 Keywords:          |
--------------------+------------------------
 This probably isn't specific to Xcode, but that's where I notice the
 problem.

 In order for files to be automatically added to a generated IDE project,
 CMake has to have specified them in a call to `add_executable()`,
 `add_library()`, etc.

 In some cases, headers and other files that one would want to edit within
 the IDE, but that the compiler doesn't explicitly need to know about, were
 omitted from these calls, making the user have to manually add them to the
 project.

 Fixing this may also be a good time to decide whether to change the way
 source files are specified to calls to `add_executable()`,
 `add_library()`, etc.  Either we can keep the hardcoded file list in the
 CMakeLists.txt or we can change it to use file globbing.  The pros/cons of
 either method are discussed here:

 http://stackoverflow.com/questions/1027247/best-way-to-specify-
 sourcefiles-in-cmake

 I can see how one might get easily confused when trying to add a new
 source file if the globbing method is used.

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/413>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list