You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
4.7 KiB

  1. /* /////////////////////////////////////////////////////////////////////////
  2. * File: pantheios/implicit_link/be.WindowsDebugger.WithCallback.h
  3. *
  4. * Purpose: Implicitly links in the Pantheios Windows Debugger Back-End Library
  5. *
  6. * Created: 25th August 2006
  7. * Updated: 10th August 2009
  8. *
  9. * Home: http://pantheios.org/
  10. *
  11. * Copyright (c) 2006-2009, Matthew Wilson and Synesis Software
  12. * All rights reserved.
  13. *
  14. * Redistribution and use in source and binary forms, with or without
  15. * modification, are permitted provided that the following conditions are
  16. * met:
  17. *
  18. * - Redistributions of source code must retain the above copyright notice,
  19. * this list of conditions and the following disclaimer.
  20. * - Redistributions in binary form must reproduce the above copyright
  21. * notice, this list of conditions and the following disclaimer in the
  22. * documentation and/or other materials provided with the distribution.
  23. * - Neither the name(s) of Matthew Wilson and Synesis Software nor the
  24. * names of any contributors may be used to endorse or promote products
  25. * derived from this software without specific prior written permission.
  26. *
  27. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  28. * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  29. * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  30. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  31. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  32. * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  33. * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  34. * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  35. * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  36. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  37. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  38. *
  39. * ////////////////////////////////////////////////////////////////////// */
  40. /** \file pantheios/implicit_link/be.WindowsDebugger.WithCallback.h
  41. *
  42. * [C, C++] Implicitly links in the \ref page__backend__callbacks "callback" version of the
  43. * \ref group__backend__stock_backends__WindowsDebugger "Pantheios Windows Debugger Back-End Library"
  44. * as the sole back-end for the given link-unit.
  45. */
  46. #ifndef PANTHEIOS_INCL_PANTHEIOS_IMPLICIT_LINK_H_BE_WINDOWSDEBUGGER_CALLBACK
  47. #define PANTHEIOS_INCL_PANTHEIOS_IMPLICIT_LINK_H_BE_WINDOWSDEBUGGER_CALLBACK
  48. /* /////////////////////////////////////////////////////////////////////////
  49. * Version information
  50. */
  51. #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION
  52. # define PANTHEIOS_VER_PANTHEIOS_IMPLICIT_LINK_H_BE_WINDOWSDEBUGGER_CALLBACK_MAJOR 2
  53. # define PANTHEIOS_VER_PANTHEIOS_IMPLICIT_LINK_H_BE_WINDOWSDEBUGGER_CALLBACK_MINOR 0
  54. # define PANTHEIOS_VER_PANTHEIOS_IMPLICIT_LINK_H_BE_WINDOWSDEBUGGER_CALLBACK_REVISION 1
  55. # define PANTHEIOS_VER_PANTHEIOS_IMPLICIT_LINK_H_BE_WINDOWSDEBUGGER_CALLBACK_EDIT 8
  56. #endif /* !PANTHEIOS_DOCUMENTATION_SKIP_SECTION */
  57. /* /////////////////////////////////////////////////////////////////////////
  58. * Includes
  59. */
  60. #ifndef PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS
  61. # include <pantheios/pantheios.h>
  62. #endif /* !PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS */
  63. #ifndef PANTHEIOS_INCL_PANTHEIOS_IMPLICIT_LINK_H_IMPLICIT_LINK_BASE_
  64. # include <pantheios/implicit_link/implicit_link_base_.h>
  65. #endif /* !PANTHEIOS_INCL_PANTHEIOS_IMPLICIT_LINK_H_IMPLICIT_LINK_BASE_ */
  66. #ifndef PANTHEIOS_INCL_PANTHEIOS_IMPLICIT_LINK_H_BEC_WINDOWSDEBUGGER_CALLBACK
  67. # include <pantheios/implicit_link/bec.WindowsDebugger.WithCallback.h>
  68. #endif /* !PANTHEIOS_INCL_PANTHEIOS_IMPLICIT_LINK_H_BEC_WINDOWSDEBUGGER_CALLBACK */
  69. /* /////////////////////////////////////////////////////////////////////////
  70. * Implicit-linking directives
  71. */
  72. #ifdef PANTHEIOS_IMPLICIT_LINK_SUPPORT
  73. # if defined(__BORLANDC__)
  74. # elif defined(__COMO__)
  75. # elif defined(__DMC__)
  76. # elif defined(__GNUC__)
  77. # elif defined(__INTEL_COMPILER)
  78. # pragma comment(lib, PANTHEIOS_IMPL_LINK_LIBRARY_NAME_("be.WindowsDebugger"))
  79. # pragma message(" " PANTHEIOS_IMPL_LINK_LIBRARY_NAME_("be.WindowsDebugger"))
  80. # elif defined(__MWERKS__)
  81. # elif defined(__WATCOMC__)
  82. # elif defined(_MSC_VER)
  83. # pragma comment(lib, PANTHEIOS_IMPL_LINK_LIBRARY_NAME_("be.WindowsDebugger"))
  84. # pragma message(" " PANTHEIOS_IMPL_LINK_LIBRARY_NAME_("be.WindowsDebugger"))
  85. # else /* ? compiler */
  86. # error Compiler not recognised
  87. # endif /* compiler */
  88. #endif /* PANTHEIOS_IMPLICIT_LINK_SUPPORT */
  89. /* ////////////////////////////////////////////////////////////////////// */
  90. #endif /* !PANTHEIOS_INCL_PANTHEIOS_IMPLICIT_LINK_H_BE_WINDOWSDEBUGGER_CALLBACK */
  91. /* ///////////////////////////// end of file //////////////////////////// */