6 Commits

Author SHA1 Message Date
Nicolai Grodzitski
8a624f93b7 Improve cmake routine for nodejs/http-parser. (#3283)
* Improve cmake routine for nodejs/http-parser. Now it is installed as a
propper target and can be searched with `find_package(http-parser REQUIRED)` and then used as
a dependency like this: `target_link_libraries(main PRIVATE
nodejs::http_parser)`. Also using namespace for referencing http-parser
lib, which is safer, although the old name must still work, as names of
the binaries remained unchanged.

* Remove duplicate variable definition and add newlines at the end of files.

* [http-parser] Rename exported targets to "unofficial", since they are not blessed by upstream
2018-04-26 14:51:13 -07:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
Robert Schumacher
bf47d0d386 [http-parser] Bump version to reflect build change adding HTTP_PARSER_STRICT=0 2017-01-13 16:01:52 -08:00
ab
8e57be1616 On release set HTTP_PARSER_STRICT to zero.
This was done to match the http-parser makefile i.e. building in release mode strict parse is disabled (which is faster) else (in debug) strict parser is used.
2017-01-12 12:28:08 +01:00
ab
f62ad96c9a Update the cmakelists to build shared and static libraries properly. 2016-12-05 17:09:33 +01:00
ab
89314e0132 Adding http-parser library 2016-11-25 16:33:16 +01:00