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

Rename rwlib library to "core" to fit its new role #574

Merged
merged 1 commit into from
Aug 9, 2018

Conversation

danhedron
Copy link
Member

As we consider librw, we need to move our rwlib out of the way to avoid confusion.

This changes our library to be called core, as it will remain to house low level utilities and OS abstractions that OpenRW is still using.

Future work will look at which pieces of this library are likely to become redundant and can be removed.

@madebr
Copy link
Contributor

madebr commented Aug 8, 2018

I would remove the source subfolder from the new library. (Same as the src subdirectory of rwengine)
And maybe name the new library rwcore? I love that prefix.

@@ -65,15 +58,15 @@ target_link_libraries(rwlib
OpenGL::GL
)

set_target_properties(rwlib
set_target_properties(core
PROPERTIES
OUTPUT_NAME rw
Copy link
Contributor

@madebr madebr Aug 8, 2018

Choose a reason for hiding this comment

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

These lines can be removed. The output name libcore (or librwcore) is fine. (Where librwlib was weird)

CMakeLists.txt Outdated
@@ -66,7 +66,7 @@ endif()
# Create a rw_interface TARGET that holds all compiler options
include("${PROJECT_SOURCE_DIR}/cmake_configure.cmake")

add_subdirectory(rwlib)
add_subdirectory(core)
Copy link
Contributor

Choose a reason for hiding this comment

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

Only remark(s) is to change this to rwcore too. Otherwise LGTM.

Also move up source files into the root directory, as there's nothing else in this directory
@danhedron danhedron merged commit 50bbfb4 into rwengine:master Aug 9, 2018
@danhedron danhedron deleted the rename_rwlib branch August 9, 2018 21:25
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.

2 participants