Files
qt6-migration-pipeline/build-docker/Lts/Common/LtsCommandLineParser/ltscommandlineparser_export.h
T
torstenandCopilot d6500157f1 Fix RTI detection: only call FIND_PACKAGE if manual config failed
- Wrap FIND_PACKAGE(RTI) in IF(NOT TARGET RTI::nddsc) condition
- Prevents placeholder targets from overwriting manually configured RTI:: targets
- Manual configuration creates RTI:: targets when BUILD_RTI=ON and RTI found
- FIND_PACKAGE only called as fallback when manual config doesn't create targets

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Entire-Checkpoint: 01M1CT3XSQXCX9RQR6WM9DG3GH
2026-08-31 23:03:01 +02:00

44 lines
1.4 KiB
C

#ifndef LTSCOMMANDLINEPARSER_EXPORT_H
#define LTSCOMMANDLINEPARSER_EXPORT_H
#ifdef LTSCOMMANDLINEPARSER_STATIC_DEFINE
# define LTSCOMMANDLINEPARSER_EXPORT
# define LTSCOMMANDLINEPARSER_NO_EXPORT
#else
# ifndef LTSCOMMANDLINEPARSER_EXPORT
# ifdef LtsCommandLineParser_EXPORTS
/* We are building this library */
# define LTSCOMMANDLINEPARSER_EXPORT __attribute__((visibility("default")))
# else
/* We are using this library */
# define LTSCOMMANDLINEPARSER_EXPORT __attribute__((visibility("default")))
# endif
# endif
# ifndef LTSCOMMANDLINEPARSER_NO_EXPORT
# define LTSCOMMANDLINEPARSER_NO_EXPORT __attribute__((visibility("hidden")))
# endif
#endif
#ifndef LTSCOMMANDLINEPARSER_DEPRECATED
# define LTSCOMMANDLINEPARSER_DEPRECATED __attribute__ ((__deprecated__))
#endif
#ifndef LTSCOMMANDLINEPARSER_DEPRECATED_EXPORT
# define LTSCOMMANDLINEPARSER_DEPRECATED_EXPORT LTSCOMMANDLINEPARSER_EXPORT LTSCOMMANDLINEPARSER_DEPRECATED
#endif
#ifndef LTSCOMMANDLINEPARSER_DEPRECATED_NO_EXPORT
# define LTSCOMMANDLINEPARSER_DEPRECATED_NO_EXPORT LTSCOMMANDLINEPARSER_NO_EXPORT LTSCOMMANDLINEPARSER_DEPRECATED
#endif
/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
#if 0 /* DEFINE_NO_DEPRECATED */
# ifndef LTSCOMMANDLINEPARSER_NO_DEPRECATED
# define LTSCOMMANDLINEPARSER_NO_DEPRECATED
# endif
#endif
#endif /* LTSCOMMANDLINEPARSER_EXPORT_H */