Page 1 of 1
Break out the share DLLs out of Spring.exe and Unitsync
Posted: 02 Jul 2008, 03:45
by tberthel
Lua
7zip
miniZip
hpiutil2
They are shared by spring.exe and unitsync, but they both have them inside. So it would save space, ease development, and help my LuaJava push.
If you want to give me repo access to do this I would do Lua and the others shortly after.
Re: Break out the share DLLs out of Spring.exe and Unitsync
Posted: 02 Jul 2008, 14:54
by Auswaschbar
You can easily do this using cmake:
1. goto trunk/rts/lib
2. open CMakeLists.txt
3. replace "STATIC" with "SHARED"
4. build
5. ...
5. have both spring and unitsync built using shared libraries Lua, Luabind, Streflop, Minizip, hpiutil2 and 7zip
Re: Break out the share DLLs out of Spring.exe and Unitsync
Posted: 05 Jul 2008, 00:25
by tberthel
CMake build has never worked for me. I have only had working builds with scons. I have built also with VC8, but spring does not work under that build.
So my only attempt will be with scons since that is the only working build.
Re: Break out the share DLLs out of Spring.exe and Unitsync
Posted: 05 Jul 2008, 00:28
by Auswaschbar
tberthel wrote:CMake build has never worked for me. I have only had working builds with scons. I have built also with VC8, but spring does not work under that build.
So my only attempt will be with scons since that is the only working build.
What are the errors?
Re: Break out the share DLLs out of Spring.exe and Unitsync
Posted: 05 Jul 2008, 11:15
by tberthel
CMake does not want to include the .cmake scripts in the configuration process. So it errors out on missing boost. I used the CMAKE_MODULE_PATH and other configurations attempts without success to recognize or use the .cmake files in the cmake build directory. I am using the latest CMake 2.6.0.
Note: My build process for most projects is clicking on build in a IDE menu. I use Ant and even Maven, but not Makefiles for like a decade.