matheusgomes28/base64pp

Install the library files and headers with CMake

Closed this issue ยท 5 comments

Need to install the library with CMake, so users can call cmake install

Suggested structure:

  • ${INSTALL_DIR}/lib holds the library files (.a, .lib). ๐Ÿ“–
  • ${INSTALL_DIR}/include holds the public header files. ๐ŸŽง

Relevant video: Deep CMake for library writers.

like to work on it

like to work on it

@ayushmaanshrotriya sounds good! Let me know if you need help but it should just be about using the install(...) cmake command on the base64pp target defined in base64pp/CMakeLists.txt

some help is needed though

some help is needed though

@ayushmaanshrotriya you're basically going to use the Cmake "install" function on the target base64pp . Take a look at the link but you will need to install the lib with the LIBRARY option, and the header file with the FILE option.

@ayushmaanshrotriya I'm gonna pick this up as I need it for a different task. Let me know if you've done anything on this and I could wait