2

MSVS have a great thing - the .props files. This files gives ability to carry out some project settings in other place. For example, I could write .props for some library, where I set up the include path`s, add .lib files, set up some compiler on linker options, etc. So when I need this library in new project - I just add this .prop file to the project and could immidietelly use this library without any additional project tunning.

So, Is there exist some analog .props in the CMake?

AeroSun
  • 2,401
  • 2
  • 23
  • 46
  • 1
    I guess [project config.cmake](https://cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file) exists for this purpose. – user7860670 Aug 22 '17 at 11:18
  • 1
    See [install EXPORT](https://cmake.org/cmake/help/latest/command/install.html#installing-exports) and [find_package](https://cmake.org/cmake/help/latest/command/find_package.html) – Simple Aug 22 '17 at 11:55

0 Answers0