Go to the source code of this file.
|
#define | a target that generate the include-what-you-use report for all the project |
|
|
cmake modules macros camitk test | endif () add_custom_target(camitk-ce-iwyu COMMAND $ |
|
| if (${CMAKE_VERSION} VERSION_GREATER "3.3" OR ${CMAKE_VERSION} VERSION_EQUAL "3.3") option(CAMITK_INCLUDE_WHAT_YOU_USE "Enable the header analysis on you code |
|
CMake version or greater is needed OFF | if (CAMITK_INCLUDE_WHAT_YOU_USE) find_program(IWYU_EXECUTABLE NAMES include-what-you-use iwyu) if(IWYU_EXECUTABLE) set(IWYU_OUTPUT "$ |
|
| set (CAMITK_CMAKE_MACRO_PATH ${CAMITK_CMAKE_DIR}/macros/camitk/test) if(NOT IS_DIRECTORY $ |
|
| set (CAMITK_CMAKE_MACRO_PATH ${CMAKE_SOURCE_DIR}/sdk/cmake/modules/macros/camitk/test) endif() else() set(CAMITK_CMAKE_MACRO_PATH $ |
|
iwyu out CACHE PATH Output filename for include what you use | set (CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${IWYU_EXECUTABLE}) if(NOT EXISTS $ |
|
#define a target that generate the include-what-you-use report for all the project |
◆ endif()
cmake modules macros camitk test endif |
( |
| ) |
|
◆ if() [1/2]
if |
( |
|
${CMAKE_VERSION} VERSION_GREATER "3.3" OR ${CMAKE_VERSION} VERSION_EQUAL "3.3" | ) |
|
◆ if() [2/2]
CMake version or greater is needed OFF if |
( |
CAMITK_INCLUDE_WHAT_YOU_USE |
| ) |
|
◆ set() [1/3]
set |
( |
CAMITK_CMAKE_MACRO_PATH ${CAMITK_CMAKE_DIR}/macros/camitk/ |
test | ) |
|
◆ set() [2/3]
set |
( |
CAMITK_CMAKE_MACRO_PATH ${CMAKE_SOURCE_DIR}/sdk/cmake/modules/macros/camitk/ |
test | ) |
|
◆ set() [3/3]
iwyu out CACHE PATH Output filename for include what you use set |
( |
CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${IWYU_EXECUTABLE} |
| ) |
|