mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
By specifying CODEGEN as an argument to add_custom_command the custom command will be added to a codegen build target. The intent is to provide a convenient way for users to get their generated files without having to build the whole project. This can be helpful for code analysis tools which can be useful for IDEs and CI.
8 lines
194 B
CMake
8 lines
194 B
CMake
cmake_minimum_required(VERSION 3.29)
|
|
project(${RunCMake_TEST} LANGUAGES C)
|
|
|
|
# This value is read from the top level CMakeLists.txt
|
|
cmake_policy(SET CMP0171 NEW)
|
|
|
|
include(${RunCMake_TEST}.cmake)
|