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

qmake -> cmake #93

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

nikita-talalai
Copy link

@nikita-talalai nikita-talalai commented Dec 11, 2023

What?

I made transition from QMake to CMake

Why?

CMake is de facto a standard build system in C++. The Qt Company, starting with Qt6, abandons QMake in favor of CMake to build Qt

How?

I used a modular CMake structure.
cmake folder is for helper scripts, future updates to it could include configuration files that can be incorporated into other projects to help them find and utilize the project.
packaging folder contains configuration for CPack to create a package.
share folder is for resources that will be used in the output executable.

Testing?

Although the project itself does not have any tests, its building system is being tested using GitHub Actions.

Anything Else?

QMake build process remains unchanged.

Move files to new places and modify project files for qmake to save compatibility
@nikita-talalai
Copy link
Author

In source tree run:
mkdir ../build
cmake -S . -B ../build && cmake --build ../build
cd ../build
cpack

@nikita-talalai nikita-talalai changed the title Practice task qmake -> cmake Dec 15, 2023
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.

None yet

1 participant