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

Restructure the source tree #61

Closed
fmang opened this issue Feb 23, 2018 · 1 comment
Closed

Restructure the source tree #61

fmang opened this issue Feb 23, 2018 · 1 comment
Assignees
Milestone

Comments

@fmang
Copy link
Owner

fmang commented Feb 23, 2018

Because I'm dealing with cmake #59, and because the number of source file has gotten important, maybe it's time to restructure the layout of the project.

An important aspect of the future release is that oshu will ship with a few extra executables that share the same modules as the game, and especially the beatmap module.

Here's the structure I have in mind:

include/
    external .h headers
lib/
    internal .h headers
    .cc sources
src/
    oshu.cc
    oshu-library.cc
    oshu-skin.cc
test/
share/
    man/
    skins/
    desktop/

This structure is heavily inspired from LLVM, with the exception of share which I made up from the FHS, and that oshu's been using so far.

The lib/include directories don't mean that liboshu will be installed as a dynamic library, but it will exist at least as the internal library shared between the oshu executables.

@fmang fmang self-assigned this Feb 24, 2018
@fmang fmang added this to the 1.7 milestone Feb 24, 2018
@fmang
Copy link
Owner Author

fmang commented Feb 25, 2018

Done.

@fmang fmang closed this as completed Feb 25, 2018
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

No branches or pull requests

1 participant