[CMake] Header only targets, solution folders and shared settings?

Kenny Erleben kenny at diku.dk
Sun May 20 02:49:55 EDT 2007


Hi,

I am trying to convert the OpenTissue open source project 
(www.opentissue.org) to CMake. I got four problems that I do not know 
how to deal with:

i) How to create a header only target(no source files at all)  in CMake 
just for class browsing?
ii) How to collect projects into solution folders as in visual studio 8.0?
iii) How to make several executables share the same compiler- and 
linker- flags?
iv) How to make several executables share the same TARGET_LINK_LIBRARIES 
settings?

Could anybody please help me?

/Kenny


More information about the CMake mailing list