Step by Step Guide to Using CMake Install Command
HTML-код
- Опубликовано: 28 сен 2024
- In this tutorial, I will guide you through the process of using the CMake install command to install your CMake-built project onto your system. We will walk you through the necessary steps and highlight the key elements of the command to ensure a seamless installation process. Whether you are new to CMake or looking to enhance your skills, this video will provide you with the knowledge and confidence to successfully use the CMake install command. Don't miss out on this essential guide for CMake developers!
Hi, but you didn't added "InstallFunctionCmakedll" as part of install commands Target?
For Ex:
install(TARGETS InstallFunctionCmake InstallFunctionCmakelib InstallFunctionCmakedll RUNTIME ....)
You are correct man, my bad somehow I missed it in the video I have shared the correction of it below. Many Thanks man for the correction.
install(TARGETS CmakeInstallFunction CmakeInstallFunctiondll CmakeInstallFunctionlib
RUNTIME DESTINATION ${CMAKE_SOURCE_DIR}/bin
LIBRARY DESTINATION ${SHARED_LIBRARIES_DIR}
ARCHIVE DESTINATION ${STATIC_LIBRARIES_DIR})
Bro you should join Growtopia coders
Ok bro 😃