Re:Chalet: A cross-platform project format and build tool fo...
by dasloop on Friday June 10, 2022 @12:35PM
(#31696383)
ExternalProject_Add -> vcpkg or Conan. I have more experience with vcpkg and the steps are:
1) declare your dependencies in a vcpkg.json file (similar to npm's package.json). Example:
{ ... "dependencies": [ "openssl" ] }
2) Add it to your CMakeLists.txt file. Example:
find_package(OpenSSL REQUIRED)
target_link_libraries(main PRIVATE OpenSSL::SSL OpenSSL::Crypto)
Re:Chalet: A cross-platform project format and build tool fo...
by MafellUser on Friday June 10, 2022 @12:16PM
(#31696170)
OTOH learning how to debug cmake will guarantee your employment for life so there's an incentive.
It needs more guidance for making simple, typical projects easy to set up, at the very least more stuff that works like ExternalProject_Add (a big powerful command with all its options clearly documented on one page).