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:
find_alembic
)find_arnold
)find_boost
)find_cg
)find_directx
) find_D3DX11Effects
)find_libxml2
)find_opengl
)find_tbb
) Unlike the other macros, find_directx
takes arguments. You must pass the specific DirectX libraries you want to add to your project.
For example:
set(libs d3d9 d3dx9 dxguid)
find_directX("${libs}")