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.
Break out the share DLLs out of Spring.exe and Unitsync
Moderator: Moderators
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Break out the share DLLs out of Spring.exe and Unitsync
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
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
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.
So my only attempt will be with scons since that is the only working build.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Break out the share DLLs out of Spring.exe and Unitsync
What are the errors?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.
Re: Break out the share DLLs out of Spring.exe and Unitsync
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.
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.