Skip to content

CMake: Add Option to Disable Install and Add Alias Target#225

Merged
eparshut merged 1 commit intointel:masterfrom
mschilling0:install-option-alias
Apr 16, 2026
Merged

CMake: Add Option to Disable Install and Add Alias Target#225
eparshut merged 1 commit intointel:masterfrom
mschilling0:install-option-alias

Conversation

@mschilling0
Copy link
Copy Markdown
Contributor

Add an option to disable CMake install. This makes disabling ITT install easier for projects using CMake's FetchContent. Also, add ittapi::ittnotify alias target to match target installed with ittapi-targets with NAMESPACE ittapi::, i.e., ittapi::ittnotify.

Comment thread CMakeLists.txt Outdated
@mschilling0 mschilling0 force-pushed the install-option-alias branch from 25ed745 to a1896d9 Compare April 16, 2026 17:12
Comment thread CMakeLists.txt Outdated
Add an option to disable CMake install. This makes disabling ITT install easier
for projects using CMake's FetchContent. Also, add ittapi::ittnotify alias
target to match target installed with ittapi-targets with NAMESPACE
ittapi::, i.e., ittapi::ittnotify.

Signed-off-by: Schilling, Matthew <matthew.schilling@intel.com>
Co-authored-by: Evgeny Parshutin <eugeny.parshutin@intel.com>
@mschilling0 mschilling0 force-pushed the install-option-alias branch from 517867d to b8d992e Compare April 16, 2026 17:38
@mschilling0
Copy link
Copy Markdown
Contributor Author

mschilling0 commented Apr 16, 2026

You might need to do the merge. Thanks! :)

@eparshut eparshut merged commit 2369c7e into intel:master Apr 16, 2026
29 checks passed
@mschilling0 mschilling0 deleted the install-option-alias branch April 16, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants