https://docs.conan.io/en/latest/reference/generators.html
Ну это хорошо но как подключить то библиотеки не могу понять
Установили с генератором?
Давайте ls той директории, из которой установку выполняли
Каталог: C:\Users\andre\CLionProjects\conan Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 11.05.2022 1:34 .idea d----- 11.05.2022 1:08 cmake-build-debug -a---- 11.05.2022 1:06 1462 BZip2-release-x86_64-data.cmake -a---- 11.05.2022 1:06 3472 BZip2-Target-release.cmake -a---- 11.05.2022 1:06 1282 BZip2Config.cmake -a---- 11.05.2022 1:06 574 BZip2ConfigVersion.cmake -a---- 11.05.2022 1:06 867 BZip2Targets.cmake -a---- 11.05.2022 1:06 3108 cmakedeps_macros.cmake -a---- 11.05.2022 1:08 290 CMakeLists.txt -a---- 11.05.2022 1:06 762 CMakePresets.json -a---- 11.05.2022 1:06 13430 conan.lock -a---- 11.05.2022 1:06 16485 conanbuildinfo.txt -a---- 11.05.2022 1:27 224 conanfile.txt -a---- 11.05.2022 1:06 5213 conaninfo.txt -a---- 11.05.2022 1:06 5743 conan_toolchain.cmake -a---- 11.05.2022 1:06 574 expat-config-version.cmake -a---- 11.05.2022 1:06 1282 expat-config.cmake -a---- 11.05.2022 1:06 1368 expat-release-x86_64-data.cmake -a---- 11.05.2022 1:06 3472 expat-Target-release.cmake -a---- 11.05.2022 1:06 867 expatTargets.cmake -a---- 11.05.2022 1:06 1582 FindBZip2.cmake -a---- 11.05.2022 1:06 1582 FindEXPAT.cmake -a---- 11.05.2022 1:06 1622 FindOpenSSL.cmake -a---- 11.05.2022 1:06 1645 FindPostgreSQL.cmake -a---- 11.05.2022 1:06 1622 FindSQLite3.cmake -a---- 11.05.2022 1:06 1565 FindZLIB.cmake -a---- 11.05.2022 1:06 5996 graph_info.json -a---- 11.05.2022 1:06 577 libmysqlclient-config-version.cmake -a---- 11.05.2022 1:06 1391 libmysqlclient-config.cmake -a---- 11.05.2022 1:06 1713 libmysqlclient-release-x86_64-data.cmake -a---- 11.05.2022 1:06 4093 libmysqlclient-Target-release.cmake -a---- 11.05.2022 1:06 948 libmysqlclientTargets.cmake -a---- 11.05.2022 1:06 574 lz4-config-version.cmake -a---- 11.05.2022 1:06 1258 lz4-config.cmake -a---- 11.05.2022 1:06 1283 lz4-release-x86_64-data.cmake -a---- 11.05.2022 1:06 3372 lz4-Target-release.cmake -a---- 11.05.2022 1:06 849 lz4Targets.cmake -a---- 11.05.2022 1:09 647 main.cpp -a---- 11.05.2022 1:06 1462 module-BZip2-release-x86_64-data.cmake -a---- 11.05.2022 1:06 3472 module-BZip2-Target-release.cmake -a---- 11.05.2022 1:06 881 module-BZip2Targets.cmake -a---- 11.05.2022 1:06 1368 module-EXPAT-release-x86_64-data.cmake -a---- 11.05.2022 1:06 3472 module-EXPAT-Target-release.cmake -a---- 11.05.2022 1:06 881 module-EXPATTargets.cmake -a---- 11.05.2022 1:06 4531 module-OpenSSL-release-x86_64-data.cmake -a---- 11.05.2022 1:06 8199 module-OpenSSL-Target-release.cmake -a---- 11.05.2022 1:06 899 module-OpenSSLTargets.cmake -a---- 11.05.2022 1:06 5691 module-PostgreSQL-release-x86_64-data.cmake -a---- 11.05.2022 1:06 10201 module-PostgreSQL-Target-release.cmake -a---- 11.05.2022 1:06 921 module-PostgreSQLTargets.cmake -a---- 11.05.2022 1:06 2936 module-SQLite3-release-x86_64-data.cmake -a---- 11.05.2022 1:06 5909 module-SQLite3-Target-release.cmake
-a---- 11.05.2022 1:06 896 module-SQLite3Targets.cmake -a---- 11.05.2022 1:06 1311 module-ZLIB-release-x86_64-data.cmake -a---- 11.05.2022 1:06 3422 module-ZLIB-Target-release.cmake -a---- 11.05.2022 1:06 872 module-ZLIBTargets.cmake -a---- 11.05.2022 1:06 4531 OpenSSL-release-x86_64-data.cmake -a---- 11.05.2022 1:06 8199 OpenSSL-Target-release.cmake -a---- 11.05.2022 1:06 1307 OpenSSLConfig.cmake -a---- 11.05.2022 1:06 577 OpenSSLConfigVersion.cmake -a---- 11.05.2022 1:06 885 OpenSSLTargets.cmake -a---- 11.05.2022 1:06 571 pcre-config-version.cmake -a---- 11.05.2022 1:06 1269 pcre-config.cmake -a---- 11.05.2022 1:06 7377 pcre-release-x86_64-data.cmake -a---- 11.05.2022 1:06 12611 pcre-Target-release.cmake -a---- 11.05.2022 1:06 858 pcreTargets.cmake -a---- 11.05.2022 1:06 25999 Poco-release-x86_64-data.cmake -a---- 11.05.2022 1:06 41728 Poco-Target-release.cmake -a---- 11.05.2022 1:06 1271 PocoConfig.cmake -a---- 11.05.2022 1:06 577 PocoConfigVersion.cmake -a---- 11.05.2022 1:06 858 PocoTargets.cmake -a---- 11.05.2022 1:06 5691 PostgreSQL-release-x86_64-data.cmake -a---- 11.05.2022 1:06 10201 PostgreSQL-Target-release.cmake -a---- 11.05.2022 1:06 1311 PostgreSQLConfig.cmake -a---- 11.05.2022 1:06 571 PostgreSQLConfigVersion.cmake -a---- 11.05.2022 1:06 907 PostgreSQLTargets.cmake -a---- 11.05.2022 1:06 2936 SQLite3-release-x86_64-data.cmake -a---- 11.05.2022 1:06 5909 SQLite3-Target-release.cmake -a---- 11.05.2022 1:06 1307 SQLite3Config.cmake -a---- 11.05.2022 1:06 577 SQLite3ConfigVersion.cmake -a---- 11.05.2022 1:06 882 SQLite3Targets.cmake -a---- 10.05.2022 22:24 212 text.txt -a---- 11.05.2022 1:06 1311 ZLIB-release-x86_64-data.cmake -a---- 11.05.2022 1:06 3422 ZLIB-Target-release.cmake -a---- 11.05.2022 1:06 1271 ZLIBConfig.cmake -a---- 11.05.2022 1:06 577 ZLIBConfigVersion.cmake -a---- 11.05.2022 1:06 858 ZLIBTargets.cmake -a---- 11.05.2022 1:06 574 zstd-config-version.cmake -a---- 11.05.2022 1:06 1270 zstd-config.cmake -a---- 11.05.2022 1:06 2900 zstd-release-x86_64-data.cmake -a---- 11.05.2022 1:06 5903 zstd-Target-release.cmake -a---- 11.05.2022 1:06 888 zstdTargets.cmake
Find* это то что нам нужно было, ура
conan profile update settings.build_type=Debug default
Не помогло инклюды не видит
install заново нужно сделать после этого. проверить что сгенерились таргеты для debug.
Обсуждают сегодня