Mastering Cmake Pdf -

CMake does not have a built-in "PDF compiler," but it can invoke external tools like pdflatex using add_custom_command .

toolchain_arm.cmake :

# Check if libharu is installed on the system find_package(libharu CONFIG REQUIRED) # If libharu provides a config file, this is all you need. mastering cmake pdf

add_library(utils STATIC utils.cpp) target_include_directories(utils PUBLIC include/private) # Both utils and my_app need it target_compile_definitions(utils PRIVATE UTILS_BUILD=1) CMake does not have a built-in "PDF compiler,"