-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modern CMake Upgrade #481
Modern CMake Upgrade #481
Conversation
git-subtree-dir: extern/discord-rpc git-subtree-split: c59fd6df20c6904ab39f026e87af1dd90fcac7ff
As of this commit, only linux can compile.
Travis-CI is not at the point where we can use it for Etterna CI. Though they are close to it. If OpenSSL could be preinstalled on Windows VM's, it would be possible to completely switch over to travis for CI/CD. The OpenSSL.light package within chocolatey only contains the DLL files, not the header files which are also needed by Etterna.
WindowsResources.rc should be evaluated to see if it's actually necessary to have or there is a better way to accomplish the same thing.
Fission suggested that this segment of code required an explanation as to why it was there, and it's relationship to the CMake install function within .ci/build.sh. I agreed and added said explanation.
Changes were discussed within Etterna Dev Group discord server
This folder is genearted when the game is run. There is no need to keep any generated files within the repository.
The previous .gitignore was filled with a lot of lines which are useful only if the game was being built as an out-of-source build. While some parts of the codebase are still used out-of-source, the majority of the builds are contained within the Build directory. That isolation allows much of the .gitignore to be removed.
The previous one accidentally ignored the entire Etterna directory located in the src folder. This will only block the Etterna binary that gets generated in the root when building on unix.
This reverts commit 59766c3.
Previous commit was a mistake to commit. It was reverted and this commit takes it's place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe there is anything else that should be done in the scope of this PR and it LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The game seems to have problems opening due to an issue with the game not being able to create the Loading Window on Windows. I've detailed this issue in Discord.
This file was removed to evaulate it's necessity. It was a heavy-handed removal being reversed in this commit, as this file gives the game it's error popup and executable icon. The file is still reliant on an unnecessary smzip.ico, and likely could be simplified and moved to a more suitable location.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the last change, it works well for me on 64 bit Windows; Release and Debug.
32 bit not tested, but I assume it works as well.
@poco0317 My testing for the |
This is my sixth pull request on this repository.
Here is a summary of everything to be changed in this pull request.
Required before the merge
These first three are the hardest to track/keep separate in different commits, since the build system affects everything, and change one can also affect the others. The commit where each OS was able to build properly regardless of the other OS's also compiling is noted with the commit ID.
b38e2e
daa507
c22b4e
f43aa1
b01107
6d9c4d
WindowsWill not be done this PR. Currently, Travis is not set up for this.f13eb2
301ccf
ce4453
d5b2e9
240c9d
26e519
32f928
b3ca40
ImplementTo be added in different PR. Too much is done in this onecppcheck
,link-what-you-use
,clang-tidy
,clang-format
within CMakeWindows-specific changes in PR
336bf3
565815
Other changes within PR
cmake-remake
While unrelated, a significant part of Update RageSurface_Save_JPEG to use stbi_write_jpg #489 is changing what is linked. Since it would no longer be linkable in it's the current state with the old CMake I will merge to update the CMake related files.c02ef9
parallel_lights_io.dll
.5b8334
wldap32.lib
in libcurl4ecb34
BYTE_ORDER
,LITTLE_ENDIAN
,BIG_ENDIAN
.16870a
f65557
d37f50