FLAMEGPU2 icon indicating copy to clipboard operation
FLAMEGPU2 copied to clipboard

libgtest.a and libtinyxm2.a not in lib/<config>

Open ptheywood opened this issue 3 years ago • 0 comments

CMake is not correctly setting the output location for the static libraries created for googletest and tinyxml2 correctly.

libgtest.a and libtinyxml2.a are being output into lib/ rather than lib/Release for instance (although there is also a copy of libtinyxml2.a in lib/Release alongside the correctly positioned libflamegpu2.a.

I believe the solution is to adjust how we are setting LIBRARY_OUTPUT_DIRECTORY, which is currently being defined in many places iirc (with logic based on which is tha parent).

Once adjusted this needs checking with:

  • main repo build
  • individual example in main repo
  • Standalone example

ptheywood avatar Jul 22 '21 10:07 ptheywood