mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-14 02:59:53 -06:00
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit c28e27bc4ad8e12d88b05f30eec19b2987c60721 (master).
Upstream Shortlog
-----------------
Brad King (3):
591c4efb Activate POSIX APIs even without compiler extensions
45f20b83 Fix XL/XLClang warning suppression under CMP0089 NEW behavior
257b1111 Configure with policies through CMake 3.22
32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing#kwsys for details. */
|
|
#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__OpenBSD__)
|
|
/* NOLINTNEXTLINE(bugprone-reserved-identifier) */
|
|
# define _XOPEN_SOURCE 600
|
|
#endif
|
|
#if defined(CMAKE_INTDIR)
|
|
# define CONFIG_DIR_PRE CMAKE_INTDIR "/"
|
|
# define CONFIG_DIR_POST "/" CMAKE_INTDIR
|
|
#else
|
|
# define CONFIG_DIR_PRE ""
|
|
# define CONFIG_DIR_POST ""
|
|
#endif
|
|
#define @KWSYS_NAMESPACE@_SHARED_FORWARD_DIR_BUILD "@EXEC_DIR@"
|
|
#define @KWSYS_NAMESPACE@_SHARED_FORWARD_PATH_BUILD "." CONFIG_DIR_POST
|
|
#define @KWSYS_NAMESPACE@_SHARED_FORWARD_PATH_INSTALL 0
|
|
#define @KWSYS_NAMESPACE@_SHARED_FORWARD_EXE_BUILD \
|
|
CONFIG_DIR_PRE "@KWSYS_NAMESPACE@TestProcess"
|
|
#define @KWSYS_NAMESPACE@_SHARED_FORWARD_EXE_INSTALL \
|
|
"@KWSYS_NAMESPACE@TestProcess"
|
|
#define @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_COMMAND "--command"
|
|
#define @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_PRINT "--print"
|
|
#define @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_LDD "--ldd"
|
|
#if defined(CMAKE_INTDIR)
|
|
# define @KWSYS_NAMESPACE@_SHARED_FORWARD_CONFIG_NAME CMAKE_INTDIR
|
|
#endif
|
|
#include <@KWSYS_NAMESPACE@/SharedForward.h>
|
|
int main(int argc, char** argv)
|
|
{
|
|
return @KWSYS_NAMESPACE@_shared_forward_to_real(argc, argv);
|
|
}
|