Skip to content

Conversation

tysonite
Copy link

@tysonite tysonite commented Oct 7, 2012

Hello

I would like cpp-netlib has an ability to be built by BJam, because I am not able to build it with CMake (due to old version of CMake in my env.)

Please, take a look at changed build scripts.

- Include '*~' pattern into .gitignore
- Build libraries in accordance with CMake script
- Build tests in accordance with CMake script

install headers : client server
: <location>../../../boost/network/include/http ;

install libraries : cppnetlib-uri cppnetlib-server-parsers cppnetlib-client-connections ;
Copy link
Member

Choose a reason for hiding this comment

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

There are a few libraries that need to be built/installed as the header-only option is no longer supported. You may want to keep the others in here?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, I miss this. I will check CMake scripts in order to understand what is needed to be installed. However, could you please provide a real example of list of libraries which are needed to be provided for the end-user? For example, is it interesting to have cppnetlib-utils-thread_pool library to be installed?

Copy link
Member

Choose a reason for hiding this comment

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

A look at the CMake libraries would be good. If you can keep this in sync with the CMake stuff that would be better IMO.

Also, yes, cppnetlib-utils-thread_pool is required for the HTTP Server implementation (for the async server).

Copy link
Author

Choose a reason for hiding this comment

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

I guess, all needed libraries should install now. Please, take a look at commit below

@deanberris
Copy link
Member

Thanks for this! Can you have a look at my other comment? It seems you're not installing the client/server static libs.

@deanberris
Copy link
Member

Any update on this?

@tysonite
Copy link
Author

Unfortunately, I had have no time to look at this. I plan to do this later this week.

@deanberris
Copy link
Member

Looks good to me, thanks!

deanberris added a commit that referenced this pull request Oct 29, 2012
Make it possible to build cpp-netlib using Boost.Build.
@deanberris deanberris merged commit e1aad6e into cpp-netlib:master Oct 29, 2012
@tysonite tysonite deleted the bjam_build branch July 3, 2013 11:19
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