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 base files, with CMake as the build system #11

Closed
2 tasks done
Tracked by #10
doodspav opened this issue Feb 12, 2023 · 0 comments · Fixed by #12
Closed
2 tasks done
Tracked by #10

Add base files, with CMake as the build system #11

doodspav opened this issue Feb 12, 2023 · 0 comments · Fixed by #12
Assignees
Labels
user story User story

Comments

@doodspav
Copy link
Owner

doodspav commented Feb 12, 2023

Description:

  • Create include/patomic/patomic.h and src/patomic.c files
  • Setup CMake to build and install the project

Acceptance Criteria:

  • Running cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release will write build files to ./build
  • Running cmake --build ./build --config Release will build a release build in ./build
  • Running cmake --install ./build --config Release --prefix ./build/usr will install the release build in ./build/usr
@doodspav doodspav added the user story User story label Feb 12, 2023
doodspav added a commit that referenced this issue Mar 11, 2023
doodspav added a commit that referenced this issue Mar 12, 2023
- remove patomic_DEVELOPER_MODE (wasn't really used, or clear in its functionality)
- add patomic_BUILD_SHARED to override BUILD_SHARED_LIBS in niche situations
- rename `warning_guard` to `patomic_WARNING_GUARD`

Signed-off-by: doodspav <[email protected]>
@doodspav doodspav linked a pull request Mar 12, 2023 that will close this issue
doodspav added a commit that referenced this issue Mar 12, 2023
## Scope

- create core source files (`includes/patomic/patomic.h` and
`src/patomic.c`)
- setup CMake to build and install library

---------

Signed-off-by: doodspav <[email protected]>
@doodspav doodspav self-assigned this Mar 12, 2023
@doodspav doodspav changed the title Add base files, with CMake as the build system, and CMake presets for CI Add base files, with CMake as the build system Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user story User story
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant