Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Introduce CMake (and removing all other project-related code) #7270
It replaces them all with a single method: cmake. This should also remove any awk/vbs scripts we have around, meaning we will get a single method of doing stuff.
Currently tested with these 'IDEs':
This is pretty much a Work In Progress, but I wanted to show others how it would look etc, so they can also test already a bit. Any feedback is welcome.
To test it out:
Or open the CMakeLists.txt in VS2017 / VS2019.
Things still to do:
(I am sure I am missing stuff .. but this is something to work on at least :D)
I disagree. The closer we stay to CMake, the easier our life will be. Let's try to do this, and only add exceptions if we really need to (and mark them as such). Otherwise we will have a config.lib in no time :D
Indeed something is wrong in the generated project file for lzo and lzma
AdditionalDependencies for Debug:
Ok there's an issue with lzo detection, I can compile with MinGW by luck, as the detected
is covered by H:/msys64/mingw64/include from other libs.
7 times, most recently
Apr 13, 2019
In my opinion, this is now ready to be merged. At the top are now two URLs that point to successful release builds; so nightlies etc will also just work after merging.
There are a few things left, on which I need help, all to do with packaging:
Otherwise it is completely done, from what I can tell.
I think the current way to run is to do
BTW I noticed, when installing openttd from MSVC, that InstallAndPackage.cmake is not selective enough for bin/ai and bin/game. It copies all files/dir, even if they are not part of the clone.