YC Yc.W home Systems · C++ · AI Infrastructure
Developer Tools · Note

CMake-Own Finder(-I -L -l)-compiling

Explore all Developer Tools notes →

What is a finder

  • When compiling a piece of software which links to third-party libraries, we need to know:
    • Where to find the .h files (-I in gcc)
    • Where to find the libraries (.so/.dll/.lib/.dylib/…) (-L in gcc)
    • The filenames of the libraries we want to link to (-l in gcc)
  • That’s the basic information a finder needs to return

← Previous CMake MESSAGE

Next → CMake-list