testSharedForward.c.in 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*============================================================================
  2. KWSys - Kitware System Library
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #if defined(CMAKE_INTDIR)
  11. # define CONFIG_DIR_PRE CMAKE_INTDIR "/"
  12. # define CONFIG_DIR_POST "/" CMAKE_INTDIR
  13. #else
  14. # define CONFIG_DIR_PRE ""
  15. # define CONFIG_DIR_POST ""
  16. #endif
  17. #define @KWSYS_NAMESPACE@_SHARED_FORWARD_DIR_BUILD "@EXEC_DIR@"
  18. #define @KWSYS_NAMESPACE@_SHARED_FORWARD_PATH_BUILD "." CONFIG_DIR_POST
  19. #define @KWSYS_NAMESPACE@_SHARED_FORWARD_PATH_INSTALL 0
  20. #define @KWSYS_NAMESPACE@_SHARED_FORWARD_EXE_BUILD \
  21. CONFIG_DIR_PRE "@KWSYS_NAMESPACE@TestProcess"
  22. #define @KWSYS_NAMESPACE@_SHARED_FORWARD_EXE_INSTALL \
  23. "@KWSYS_NAMESPACE@TestProcess"
  24. #define @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_COMMAND "--command"
  25. #define @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_PRINT "--print"
  26. #define @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_LDD "--ldd"
  27. #if defined(CMAKE_INTDIR)
  28. # define @KWSYS_NAMESPACE@_SHARED_FORWARD_CONFIG_NAME CMAKE_INTDIR
  29. #endif
  30. #include <@KWSYS_NAMESPACE@/SharedForward.h>
  31. int main(int argc, char** argv)
  32. {
  33. return @KWSYS_NAMESPACE@_shared_forward_to_real(argc, argv);
  34. }