-
Notifications
You must be signed in to change notification settings - Fork 425
s,cppnetlib,network, #372
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
s,cppnetlib,network, #372
Conversation
Probably now variables need to be renamed from |
I would hold off on the CMAKE variables -- I think there's value in the project name being there at least. ;) |
@@ -8,11 +8,11 @@ | |||
cmake_minimum_required(VERSION 2.8) | |||
project(CPP-NETLIB) | |||
|
|||
option( CPP-NETLIB_BUILD_SHARED_LIBS "Build cpp-netlib as shared libraries." OFF ) | |||
option( CPP-NETLIB_BUILD_SINGLE_LIB "Build cpp-netlib into a single library" OFF ) | |||
option( CPP-NETLIB_BUILD_SHARED_LIBS "Build network as shared libraries." OFF ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha -- I think you did too thorough a sed script here. ;)
You'd want to keep cpp-netlib in these comments (and other places where it's descriptive rather than "normative"). 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did it on purpose. It depends on how to name main library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though it's better to quote this name. This looks weird: Build the examples using network.
(:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still would like to keep cpp-netlib here instead. These are descriptions, which really should be geared towards humans. :)
That said, I think having the actual name of the output binary is a good idea. In which case something like:
"Build cpp-netlib shared libraries (network-.so or network-.dll)."
In fact it isn't really necessary to change the prefix for what will be deprecated and removed anyway, as new stuff is developed. Eventually all the code that will replace these libraries ought to come with the |
I'm a little bit confused... To summarize, expected:
If single library will build output: cppnetlib |
I think you got the gist of what I'd like to happen @ruslo :) Single library output: cppnetlib I also agree with @glynos but I'd rather be migrating the names now and cutting them out aggressively in the coming days/weeks. This means, all the deprecated stuff (message framework, etc) will fall by the wayside and won't be developed anymore -- and actually removed from the codebase. |
@@ -8,14 +8,14 @@ include_directories(${CPP-NETLIB_SOURCE_DIR}/concurrency/src | |||
${CPP-NETLIB_SOURCE_DIR} | |||
) | |||
if (CPP-NETLIB_BUILD_TESTS) | |||
add_executable(cpp-netlib-thread_pool_test thread_pool_test.cpp) | |||
target_link_libraries(cpp-netlib-thread_pool_test | |||
add_executable(network-thread_pool_test thread_pool_test.cpp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about test executable? Revert it too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please, thanks @ruslo :)
Libraries list:
|
I can't find travis build. Are you sure cpp-netlib is activated? |
At least it's working here: https://travis-ci.org/glynos/cpp-netlib I'll see what I can do set it up for the cpp-netlib repo. |
@ruslo -- can you please rebase/merge from HEAD, so we can merge this soon? Thanks. |
Ready to merge: |
Thanks @ruslo -- sorry for the delay. LGTM |
Thanks, Dean! Libraries list's current state:
What is the next step? |
@deanberris @glynos Yep, my repo working too: https://travis-ci.org/ruslo/cpp-netlib |
Are Does anybody know how to make Travis work with cpp-netlib? |
On 30 January 2014 09:19, Dean Michael Berris notifications@github.comwrote:
Yeah, it's not obvious, but I just triggered a build for this repo. Reply to this email directly or view it on
|
@glynos Huh. I think we may be clobbering settings on each other. 😀 I'll let you figure this out going forward. :) |
No
@deanberris sure, I just think that if you want to remove/merge this libraries then there is no difference I'll open new PR if you don't mind. This PR becomes a little bit messy. |
On 30 January 2014 08:41, Ruslan Baratov notifications@github.com wrote:
Glyn |
I don't think it's worth keeping network-error over the long run. I intended it to be a specialization of std::system_error for this library but I no longer feel this is necessary, and it's not being used by the HTTP v2 client. |
@glynos @deanberris Thank! It's working: https://travis-ci.org/cpp-netlib/cpp-netlib/builds/17892236 |
What part is unfinished C++ or CMake? |
None, for the time-being. |
No description provided.