Skip to content

katahiromz/RATL

Repository files navigation

Independent ReactOS ATL (RATL)

This is an "Active Template Library (ATL)" clone from ReactOS.

ReactOS

Donate Follow on Twitter

Contributors

How to use RATL in your project

  1. git submodule add https://github.com/katahiromz/RATL
  2. Add the following code into your CMakeLists.txt:
add_subdirectory(RATL)
get_directory_property(RATL_DEFINITIONS DIRECTORY RATL DEFINITION RATL_DEFINITIONS)
get_directory_property(RATL_INCLUDE_DIRS DIRECTORY RATL DEFINITION RATL_INCLUDE_DIRS)
get_directory_property(RATL_LIBRARIES DIRECTORY RATL DEFINITION RATL_LIBRARIES)
  1. Use RATL_DEFINITIONS, RATL_INCLUDE_DIRS, and RATL_LIBRARIES in your CMakeLists.txt.

See samples/.

Tested on RosBE (ReactOS Build Environment) and Visual Studio 2019.

Notes

  • CComQIPtr<type> is not supported due to GCC compatibility. Use CComQIIDPtr<I_ID(type)> instead.

License

  • LGPL 2.1 or later