MantisBT - CMake
View Issue Details
0011095CMakeCMakepublic2010-08-04 12:042010-08-04 12:58
Olaf van der Spek 
 
normalfeaturealways
closedwon't fix 
CMake-2-8 
 
0011095: [VS] Support redistributable project files
Would it be possible to add an option to generate redistributable project files?
Those files should not depend on CMake and not use absolute paths.

This would be great for people wanting to distribute VS project files.
No tags attached.
Issue History
2010-08-04 12:04Olaf van der SpekNew Issue
2010-08-04 12:32Bill HoffmanNote Added: 0021639
2010-08-04 12:34Olaf van der SpekNote Added: 0021640
2010-08-04 12:57Bill HoffmanNote Added: 0021644
2010-08-04 12:58Bill HoffmanStatusnew => closed
2010-08-04 12:58Bill HoffmanResolutionopen => won't fix

Notes
(0021639)
Bill Hoffman   
2010-08-04 12:32   
No, this is not possible with the CMake architecture for many reasons.
(0021640)
Olaf van der Spek   
2010-08-04 12:34   
Why not? It seems quite easy.
(0021644)
Bill Hoffman   
2010-08-04 12:57   
http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_use_full_paths.2C_or_can_I_copy_my_build_tree.3F [^]

It is not easy. CMake is used during the build process. Even VS projects may call the cmake command during the build. If you want to talk about this more bring it up on the list, but is is not as easy as you think to do in a general way...