diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-06-04 14:10:51 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-06-04 18:04:59 +0800 |
commit | 2971fde36e3a04772f317a08e5d1335161637e3c (patch) | |
tree | 62aca475a202d2d1a422c22febf47a9de7247b2e /indra/llcommon/tests/test_python_script.py | |
parent | 8e096fdcdcfa4f8db762dfb9a2b8dd4e29c78eea (diff) |
Self-build ColladaDOM on Windows
Plus simplifying the SHARED to STATIC stream editing by not using the
global 'g' key, cause it's only 1 instance to edit.
For now, BOOST_CFLAGS & BOOST_LIBS are set to refer to SLv prebuilt
binary installation, along with its library suffix.
try_compile doesn't seem to "compile" it, but it does configure it, so
we just execute MSBuild.exe afterwards.
Last time I tried, it didn't finish building or didn't build
successfully, though.
So what I did is manually run MSBuild.exe on ColladaDOM's solution file,
and the next CMake configuration picked up the generated library,
renamed to be the same as expected when using SLv prebuilt one, so that
we don't have to adjust more lines for this, it has to be copied/moved
anyway, might as well rename it the same.
About the WIN32 definition stream editing, somehow WIN32 is not defined
in daeUtils.cpp, that it would fail at deciding which commands to
compile. I did try adding /DWIN32 to CXX_FLAGS but it ruined it for the
Minizip header directory search. So the hack is to just forcefully
define WIN32 in that file.
Diffstat (limited to 'indra/llcommon/tests/test_python_script.py')
0 files changed, 0 insertions, 0 deletions