mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Help: add_executable: Add TOC
This commit is contained in:
@@ -1,8 +1,15 @@
|
|||||||
add_executable
|
add_executable
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
.. only:: html
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
Add an executable to the project using the specified source files.
|
Add an executable to the project using the specified source files.
|
||||||
|
|
||||||
|
Normal Executables
|
||||||
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. code-block:: cmake
|
.. code-block:: cmake
|
||||||
|
|
||||||
add_executable(<name> [WIN32] [MACOSX_BUNDLE]
|
add_executable(<name> [WIN32] [MACOSX_BUNDLE]
|
||||||
@@ -45,7 +52,8 @@ See also :prop_sf:`HEADER_FILE_ONLY` on what to do if some sources are
|
|||||||
pre-processed, and you want to have the original sources reachable from
|
pre-processed, and you want to have the original sources reachable from
|
||||||
within IDE.
|
within IDE.
|
||||||
|
|
||||||
--------------------------------------------------------------------------
|
Imported Executables
|
||||||
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. code-block:: cmake
|
.. code-block:: cmake
|
||||||
|
|
||||||
@@ -65,7 +73,8 @@ whose names begin in ``IMPORTED_``. The most important such property is
|
|||||||
the main executable file on disk. See documentation of the ``IMPORTED_*``
|
the main executable file on disk. See documentation of the ``IMPORTED_*``
|
||||||
properties for more information.
|
properties for more information.
|
||||||
|
|
||||||
--------------------------------------------------------------------------
|
Alias Executables
|
||||||
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. code-block:: cmake
|
.. code-block:: cmake
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user