Page 2 of 2

Re: Help with setting up

Posted: Mon May 06, 2019 9:20 am
by em3
o01eg wrote:
Mon May 06, 2019 8:30 am
SDK builds as release with symbols.
... I think I'll try to prepare dependencies without SDK, then.

Re: Help with setting up

Posted: Mon May 06, 2019 9:24 am
by o01eg
em3 wrote:
Mon May 06, 2019 9:20 am
o01eg wrote:
Mon May 06, 2019 8:30 am
SDK builds as release with symbols.
... I think I'll try to prepare dependencies without SDK, then.
You could build SDK with your own configuration.

Re: Help with setting up

Posted: Mon May 06, 2019 9:31 am
by em3
o01eg wrote:
Mon May 06, 2019 9:24 am
You could build SDK with your own configuration.
D'oh

I really appreciate your support, o01eg (and stating the obvious to my stale mind).

Re: Help with setting up

Posted: Sat May 18, 2019 8:21 pm
by o01eg
adrian_broher wrote:
Sat Apr 27, 2019 1:52 pm
Geoff the Medio wrote:
Sat Apr 27, 2019 10:35 am
The second pull request was repeatedly tested and given feedback, until you wrote that it broke more than it fixed. If you now think it is worth merging, please write that or do so. I defer to your judgement for pull requests such as this.
I still consider it the inferior solution as it doesn't allow the build of shared libraries and only somehow fixes the windows build by copying the behaviour of the VS solution. It doesn't fix the inherit flaws of it.
I think it better to have cmake builds project like a VS solution than not to have any cmake builds.

Re: Help with setting up

Posted: Mon Oct 07, 2019 9:24 am
by em3
I finally managed to build freeorion. I made an out of source build of both freeorion-sdk and freeorion and checked out freeorion sources outside the SDK build directory. AMA

But seriously, I will post a patch to CMakeLists.txt soon-ish, which changes:

Code: Select all

    set(CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/..")
to:

Code: Select all

    set(CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/.." CACHE PATH "Location of the FreeOrionSDK root")
I need to run it from command line:

Code: Select all

PS C:\Users\miron\Git\freeorion> C:\Users\miron\Documents\Build\freeorion\RelWithDebInfo\FreeOrion.exe
How do I create the config.xml file so that I can specify the path to default directory and then run FreeOrion.exe from explorer?

Edit: OK, I got it. It was created after a successfull start and remembered the resources path. Good.

Re: Help with setting up

Posted: Mon Oct 07, 2019 4:56 pm
by em3