rttr.cmake 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. ####################################################################################
  2. # #
  3. # Copyright (c) 2014 - 2018 Axel Menzel <info@rttr.org> #
  4. # #
  5. # This file is part of RTTR (Run Time Type Reflection) #
  6. # License: MIT License #
  7. # #
  8. # Permission is hereby granted, free of charge, to any person obtaining #
  9. # a copy of this software and associated documentation files (the "Software"), #
  10. # to deal in the Software without restriction, including without limitation #
  11. # the rights to use, copy, modify, merge, publish, distribute, sublicense, #
  12. # and/or sell copies of the Software, and to permit persons to whom the #
  13. # Software is furnished to do so, subject to the following conditions: #
  14. # #
  15. # The above copyright notice and this permission notice shall be included in #
  16. # all copies or substantial portions of the Software. #
  17. # #
  18. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
  19. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
  20. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE #
  21. # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
  22. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, #
  23. # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE #
  24. # SOFTWARE. #
  25. # #
  26. ####################################################################################
  27. set(HEADER_FILES access_levels.h
  28. argument.h
  29. array_range.h
  30. associative_mapper.h
  31. constructor.h
  32. destructor.h
  33. enumeration.h
  34. enum_flags.h
  35. filter_item.h
  36. instance.h
  37. library.h
  38. method.h
  39. policy.h
  40. property.h
  41. parameter_info.h
  42. registration
  43. registration_friend
  44. registration.h
  45. registration_friend.h
  46. sequential_mapper.h
  47. string_view.h
  48. rttr_cast.h
  49. rttr_enable.h
  50. type
  51. type.h
  52. type_list.h
  53. variant.h
  54. variant_associative_view.h
  55. variant_sequential_view.h
  56. visitor.h
  57. wrapper_mapper.h
  58. detail/base/core_prerequisites.h
  59. detail/base/version.h.in
  60. detail/base/version.rc.in
  61. detail/comparison/comparable_types.h
  62. detail/comparison/compare_array_less.h
  63. detail/comparison/compare_array_less_impl.h
  64. detail/comparison/compare_array_equal.h
  65. detail/comparison/compare_array_equal_impl.h
  66. detail/comparison/compare_equal.h
  67. detail/comparison/compare_equal_impl.h
  68. detail/comparison/compare_less.h
  69. detail/comparison/compare_less_impl.h
  70. detail/constructor/constructor_invoker.h
  71. detail/constructor/constructor_wrapper.h
  72. detail/constructor/constructor_wrapper_defaults.h
  73. detail/constructor/constructor_wrapper_base.h
  74. detail/conversion/std_conversion_functions.h
  75. detail/conversion/number_conversion.h
  76. detail/default_arguments/default_arguments.h
  77. detail/default_arguments/invoke_with_defaults.h
  78. detail/destructor/destructor_wrapper.h
  79. detail/destructor/destructor_wrapper_base.h
  80. detail/enumeration/enumeration_helper.h
  81. detail/enumeration/enumeration_wrapper.h
  82. detail/enumeration/enumeration_wrapper_base.h
  83. detail/enumeration/enum_data.h
  84. detail/filter/filter_item_funcs.h
  85. detail/impl/argument_impl.h
  86. detail/impl/array_range_impl.h
  87. detail/impl/associative_mapper_impl.h
  88. detail/impl/enum_flags_impl.h
  89. detail/impl/instance_impl.h
  90. detail/impl/rttr_cast_impl.h
  91. detail/impl/sequential_mapper_impl.h
  92. detail/impl/string_view_impl.h
  93. detail/impl/wrapper_mapper_impl.h
  94. detail/library/library_p.h
  95. detail/metadata/metadata.h
  96. detail/metadata/metadata_handler.h
  97. detail/method/method_accessor.h
  98. detail/method/method_invoker.h
  99. detail/method/method_wrapper.h
  100. detail/method/method_wrapper_base.h
  101. detail/misc/argument_wrapper.h
  102. detail/misc/argument_extractor.h
  103. detail/misc/class_item_mapper.h
  104. detail/misc/data_address_container.h
  105. detail/misc/flat_map.h
  106. detail/misc/flat_multimap.h
  107. detail/misc/function_traits.h
  108. detail/misc/iterator_wrapper.h
  109. detail/misc/misc_type_traits.h
  110. detail/misc/register_wrapper_mapper_conversion.h
  111. detail/misc/sequential_container_type_traits.h
  112. detail/misc/std_type_traits.h
  113. detail/misc/template_type_trait.h
  114. detail/misc/template_type_trait_impl.h
  115. detail/misc/utility.h
  116. detail/parameter_info/parameter_infos.h
  117. detail/parameter_info/parameter_infos_compare.h
  118. detail/parameter_info/parameter_names.h
  119. detail/parameter_info/parameter_info_wrapper_base.h
  120. detail/parameter_info/parameter_info_wrapper.h
  121. detail/policies/prop_policies.h
  122. detail/policies/meth_policies.h
  123. detail/policies/ctor_policies.h
  124. detail/property/property_accessor.h
  125. detail/property/property_wrapper.h
  126. detail/property/property_wrapper_base.h
  127. detail/property/property_wrapper_func.h
  128. detail/property/property_wrapper_member_func.h
  129. detail/property/property_wrapper_member_object.h
  130. detail/property/property_wrapper_object.h
  131. detail/registration/bind_types.h
  132. detail/registration/bind_impl.h
  133. detail/registration/register_base_class_from_accessor.h
  134. detail/registration/registration_impl.h
  135. detail/registration/registration_executer.h
  136. detail/registration/registration_manager.h
  137. detail/registration/registration_state_saver.h
  138. detail/type/accessor_type.h
  139. detail/type/base_classes.h
  140. detail/type/get_create_variant_func.h
  141. detail/type/get_derived_info_func.h
  142. detail/type/type_converter.h
  143. detail/type/type_comparator.h
  144. detail/type/type_data.h
  145. detail/type/type_register.h
  146. detail/type/type_impl.h
  147. detail/type/type_name.h
  148. detail/type/type_register_p.h
  149. detail/type/type_string_utils.h
  150. detail/variant/variant_compare.h
  151. detail/variant/variant_data.h
  152. detail/variant/variant_data_converter.h
  153. detail/variant/variant_data_policy.h
  154. detail/variant/variant_impl.h
  155. detail/variant_associative_view/variant_associative_view_private.h
  156. detail/variant_associative_view/variant_associative_view_creator.h
  157. detail/variant_associative_view/variant_associative_view_creator_impl.h
  158. detail/variant_sequential_view/variant_sequential_view_private.h
  159. detail/variant_sequential_view/variant_sequential_view_creator_impl.h
  160. detail/variant_sequential_view/variant_sequential_view_creator.h
  161. detail/visitor/visitor_iterator.h
  162. detail/visitor/create_type_visitor_func.h
  163. detail/visitor/create_type_visitor_func_impl.h
  164. detail/visitor/method_visitor_invoker.h
  165. detail/visitor/constructor_visitor_invoker.h
  166. detail/visitor/property_visitor_invoker.h
  167. detail/visitor/visitor_impl.h
  168. detail/visitor/type_visitor_invoker.h
  169. detail/visitor/visitor_registration.h
  170. )
  171. set(SOURCE_FILES constructor.cpp
  172. destructor.cpp
  173. enumeration.cpp
  174. library.cpp
  175. method.cpp
  176. parameter_info.cpp
  177. policy.cpp
  178. property.cpp
  179. registration.cpp
  180. type.cpp
  181. variant.cpp
  182. variant_associative_view.cpp
  183. variant_sequential_view.cpp
  184. visitor.cpp
  185. detail/comparison/compare_equal.cpp
  186. detail/comparison/compare_less.cpp
  187. detail/misc/standard_types.cpp
  188. detail/conversion/std_conversion_functions.cpp
  189. detail/constructor/constructor_wrapper_base.cpp
  190. detail/destructor/destructor_wrapper_base.cpp
  191. detail/enumeration/enumeration_helper.cpp
  192. detail/enumeration/enumeration_wrapper_base.cpp
  193. detail/library/library_win.cpp
  194. detail/library/library_unix.cpp
  195. detail/method/method_wrapper_base.cpp
  196. detail/parameter_info/parameter_info_wrapper_base.cpp
  197. detail/property/property_wrapper_base.cpp
  198. detail/registration/registration_executer.cpp
  199. detail/registration/registration_state_saver.cpp
  200. detail/type/type_data.cpp
  201. detail/type/type_register.cpp
  202. detail/variant/variant_compare.cpp
  203. )