You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way, there will be a bin folder containing the countly.dll.
There are a few errors with the include setup. First, countly.hpp needs to be removed from COUNTLY_PUBLIC_HEADERS. While we're at it, add countly_configuration.hpp, which is missing!
Next, add this additional install step at the end of the file:
I can share my version of the CMakeLists.txt if that helps. I'm not say you should necessarily adopt it, but it might provide an idea of where things could use some shoring up. I also tightened up the sqlite pathing so it actually uses the results of find_package(sqlite), which allows someone like me to override using the bundled sqlite in favour of the one we're using elsewhere in our product.
If you use
-DCMAKE_INSTALL_PREFIX=[some folder]
when generating the build files, and then use--target install
, you get a badly formed output folder.The DLL is the easiest one to fix.
Should be
This way, there will be a
bin
folder containing thecountly.dll
.There are a few errors with the include setup. First,
countly.hpp
needs to be removed fromCOUNTLY_PUBLIC_HEADERS
. While we're at it, addcountly_configuration.hpp
, which is missing!Next, add this additional install step at the end of the file:
This will separately install
countly.hpp
in the rootinclude
folder in the install directory, creating the expected setup.The text was updated successfully, but these errors were encountered: