forked from qt-creator/qt-creator
Doc - More Cleanups
Reviewed-By: TrustMe
This commit is contained in:
@@ -1530,26 +1530,28 @@ Click here to continue where you left creator last time", or something similar p
|
|||||||
|
|
||||||
\section1 CMake Projects
|
\section1 CMake Projects
|
||||||
|
|
||||||
In CMake, libraries are usually detected using the \c{FIND_PACKAGE()} macro.
|
In CMake, libraries are usually detected using the \c{FIND_PACKAGE()}
|
||||||
A couple of them are already being shipped with CMake, they can be found in
|
macro. A couple of them are already being shipped with CMake, they can be
|
||||||
the \c{Modules} directory of your CMake installation. If you provide
|
found in the \c{Modules} directory of your CMake installation. If you
|
||||||
libraries on your own, you will need to provide your own \c{FindFoo.cmake}
|
provide libraries on your own, you will need to provide your own
|
||||||
file. Refer to the \l{http://vtk.org/Wiki/CMake_FAQ#Writing_FindXXX.cmake_files}
|
\c{FindFoo.cmake} file. Refer to the
|
||||||
{CMake FAQ} for details.
|
\l{http://vtk.org/Wiki/CMake_FAQ#Writing_FindXXX.cmake_files}{CMake FAQ}
|
||||||
|
for details.
|
||||||
|
|
||||||
As with qmake project, syntax completion and highlighting should work if
|
As with \c qmake projects, syntax completion and highlighting should work
|
||||||
you can sucessfully build and link against the external library.
|
if you can sucessfully build and link against the external library.
|
||||||
|
|
||||||
|
|
||||||
\section1 Generic Projects
|
\section1 Generic Projects
|
||||||
|
|
||||||
If you import a project using the \e{Generic Projects} function, Qt Creator will
|
If you import a project using the \e{Generic Projects} function, Qt Creator
|
||||||
create a file called \c{<projectname>.includes} in your project root directory. It will
|
will create a file called \c{<projectname>.includes} in your project root
|
||||||
contain all project subdirectories it that was able to find relevant header files in.
|
directory. This file contains all project subdirectories which Qt Creator
|
||||||
Simply add your include pathes there.
|
could find relevant headers for. Simply add your include pathes here.
|
||||||
|
|
||||||
Note that in Generic Project mode, Qt Creator will refrain from touching any
|
In \guiGeneric Project} mode, Qt Creator will not modify any project
|
||||||
project settings, so the above is merely a hint for the code completion and
|
settings, so the above is merely a hint for code completion and syntax
|
||||||
the syntax highlighter.
|
highlighting.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user