Windows build question: Filesystem layout

Stefan Fuchs sfuchs at gmx.de
Fri Jan 27 06:43:01 PST 2017


Hi Dirk,

Am 26.01.2017 um 23:03 schrieb Dirk Hohndel:
>
>> beside my real issue I have one other question:
>>
>> I followed the directions in INSTALL and mxe-based-build.sh and I now
>> have the following filesystem layout:
>>
>>
>> └── src
>>    ├── grantlee
>>    ├── install-root
>>    ├── libdivecomputer
>>    ├── libgit2
>>    ├── marble-source
>>    ├── subsurface	<-- source from git
>>    └── win
>>        ├── grantlee	<-- copy from one level above
>>        ├── libcurl
>>        ├── libdc
>>        ├── libdivecomputer	<-- copy from one level above
>>        ├── libgit2	<-- copy from one level above
>>        ├── libssh2
>>        ├── marble-source <-- copy from one level above
>>        ├── mxe
>>        ├── subsurface	<-- source from git
>>        └── win32	<-- windows build dir
>>
>> So I have a few things twice like subsurface branch, libdivecomputer,
>> libgit2,... and I need to maintain also the source code twice.
>> But a comment in mxe-based-build.sh is saying:
>>
>> # This makes some assumption about the filesystem layout based
>> # on the way things are setup on my system so I can build Ubuntu PPA,
>> # OBS and Windows out of the same sources.
>>
>>
>> What did I do wrong? What is maybe obsolete or wrong in my filesystem
>> layout?
> Doesn't seem wrong to me. The directories under 'src' are the sources,
> the ones under 'win' are the build directories.
>
But isn't it that "win32" is the build directory and I have the source
(from git) two times? I added more specificly what I have above in the
tree...

Best regards
Stefan



More information about the subsurface mailing list