Skip to content
Snippets Groups Projects
Commit e57e1296 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Improve init_project documentation

parent ca14881c
No related branches found
No related tags found
No related merge requests found
include_guard ()
# init_project
#
# Sets common settings for a project. These include:
#
# - all debug builds will have the postfix `-d`
# - the default install directory will be `${CMAKE_CURRENT_BINARY_DIR}/dist`
# - all output directories will include the current configuration
# - IDE folders will be turned on for visual studio
#[=======================================================================[.rst:
..command:: init_project
Sets common settings for a project. These include:
* all debug builds will have the postfix `-d`
* the default install directory will be `${CMAKE_CURRENT_BINARY_DIR}/dist`
* all output directories will include the current configuration
* IDE folders will be turned on for visual studio
::
init_project()
#]=======================================================================]
macro (init_project)
set (CMAKE_DEBUG_POSTFIX "-d")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment