Skip to content
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

Add: Install, Pack (windows) and Release workflow #28

Merged
merged 4 commits into from
Dec 13, 2023

Conversation

glx22
Copy link
Contributor

@glx22 glx22 commented Nov 29, 2023

I finally decided to add some missing stuff in cmake files to allow installing and bundling.
Bundling is done only for windows.
But source and windows builds should be a good starting point to be able to do releases on github.

Tested on my fork https://github.com/glx22/grfcodec/releases/tag/7.0.0

cmake_minimum_required(VERSION 3.5)

install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/grfcodec.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a lot of tabs

if(WRITE_VERSION)
file(WRITE .version "${GIT_VERSION}\t${GIT_DATE}\n")
else()
message(STATUS "Generating version.h")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird alignment of this line compared to the rest.

@glx22 glx22 merged commit 4d33593 into OpenTTD:master Dec 13, 2023
8 checks passed
@glx22 glx22 deleted the install branch December 13, 2023 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants