Macros for Commonly-Used Libraries

For convenience, the global devkit cmake file contains macros for adding commonly-used packages. The macros are of the form find_<package_name> and are called by putting each macro for each package on its own line in the CMakeLists.txt file.

Macros are available for the following packages:

Note: Unlike the other macros, find_directx takes arguments. You must pass the specific DirectX libraries you want to add to your project.

For example:

sh set(libs d3d9 d3dx9 dxguid) find_directX("${libs}")