[CMake] Q: Compile and Run
Jakub Zakrzewski
jzakrzewski at e2e.ch
Thu Oct 31 03:59:20 EDT 2013
Hi,
QtCreator undestands CMake output. I doesn't parse CMake on its own. Basically, when you hit "Build", the native build mechanism is invoked (on Linux it defaults to make), which, in turn, invokes CMake. If there are errors in CMakeLists.txt, they will be shown in your build output as normal build errors.
So it is enough to invoke "make" to make everything run. That means, that if you're in the roght dorectory you can use ":make" in vim and it'll work.
-----Original Message-----
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of dravion.smith at gmx.net
Sent: Donnerstag, 31. Oktober 2013 07:55
To: cmake at cmake.org
Subject: [CMake] Q: Compile and Run
Hello
If have just a little Question:
I noticed thadt the manuals and Helpfiles and allways describing the Way to generate makefiles, XCode Workspaces and Visual C/C++ Solutionfiles and right now iam using the generated Workspaces or Makefiles to use the native Makeutility or the VC++ or XCode IDE to finish the build
But:
Sometimes i use QtCreator for editing my CMakeLists.txt files because it has built in Support for CMake, Syntaxhighlighting and Tabcompletion.I noticed QtCreator can generate (for instance on Windows) the final EXE or DLL just on hitting the build / Run Button. Is this a generall feature of CMake or just a thing QtCreator can do? Can i archive the same behavior im EMacs or VI?
Hint: I noticed QtCreator does NOT generate just a own workspace as a parse/import/convert Result of CMakeLists.txt because, any change on it (for example: on
misstyping) the Error is
directly showing as Error after hitting the rebuild button in the QtCreator IDE.
Thanks, Dravion
--
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://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list