On Sun, Dec 13, 2009 at 8:20 AM, Mark Jones <mark.jones1...@gmail.com>wrote:

> Hi David,
>
> Thank you for all of your help so far.


You're welcome...

Am I attempting to use cmake in a way that is incompatible with cmake, or in
> a way that it wasn't intended for?  It is OK if I am attempting to use it in
> a way it isn't designed for (in which case I can accept that and move on),


Yes, unfortunately, you are. (So accept it, and move on...)   :-)

You can *either* do add_custom_command stuff and have a bare Visual Studio
project without any source files in (but that drives your build through
Visual Studio and your existing makefiles without intellisense and all
that)...

*Or* you can convert the makefiles you do have into CMakeLists.txt files
that list all the sources, do add_library, add_executable and
include_directories calls and generate VS project files that *replace* your
makefiles...

But not both. (At least not without major CMake re-work...)

Why not convert your existing makefiles and just use CMake? It wouldn't be
that much more effort than getting CMake to generate a hybrid/fake thing
like you're trying to do already...


HTH,
David
_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to