Compare commits
No commits in common. "df38bcf7758a3b59a15390cd00a16f8807bc055f" and "2a071d319bc0f28787316b169ce93343b549685d" have entirely different histories.
df38bcf775
...
2a071d319b
@ -70,16 +70,6 @@ include_directories (${PROJECT_BINARY_DIR})
|
|||||||
add_executable (${PROJECT_NAME} ${PROJECT_NAME}.c http-parser/http_parser.c)
|
add_executable (${PROJECT_NAME} ${PROJECT_NAME}.c http-parser/http_parser.c)
|
||||||
target_link_libraries (${PROJECT_NAME} ${project_libraries})
|
target_link_libraries (${PROJECT_NAME} ${project_libraries})
|
||||||
|
|
||||||
# Development tools
|
|
||||||
find_package (LibMagic)
|
|
||||||
if (LIBMAGIC_FOUND)
|
|
||||||
include_directories (${LIBMAGIC_INCLUDE_DIRS})
|
|
||||||
add_executable (json-rpc-test-server
|
|
||||||
json-rpc-test-server.c http-parser/http_parser.c)
|
|
||||||
target_link_libraries (json-rpc-test-server
|
|
||||||
${project_libraries} ${LIBMAGIC_LIBRARIES})
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
# The files to be installed
|
# The files to be installed
|
||||||
include (GNUInstallDirs)
|
include (GNUInstallDirs)
|
||||||
install (TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
|
install (TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2014 - 2018, Přemysl Janouch <p@janouch.name>
|
Copyright (c) 2014 - 2016, Přemysl Janouch <p@janouch.name>
|
||||||
|
|
||||||
Permission to use, copy, modify, and/or distribute this software for any
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
purpose with or without fee is hereby granted.
|
purpose with or without fee is hereby granted.
|
||||||
|
@ -67,12 +67,6 @@ Note that for versions of CMake before 2.8.9, you need to prefix `cpack` with
|
|||||||
|
|
||||||
Run the program with `--help` to obtain usage information.
|
Run the program with `--help` to obtain usage information.
|
||||||
|
|
||||||
Test server
|
|
||||||
-----------
|
|
||||||
If you install development packages for libmagic, an included test server will
|
|
||||||
be built but not installed which provides a trivial JSON-RPC 2.0 service with
|
|
||||||
FastCGI, SCGI, and WebSocket interfaces. It responds to the `ping` method.
|
|
||||||
|
|
||||||
Contributing and Support
|
Contributing and Support
|
||||||
------------------------
|
------------------------
|
||||||
Use https://git.janouch.name/p/json-rpc-shell to report bugs, request features,
|
Use https://git.janouch.name/p/json-rpc-shell to report bugs, request features,
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
# Public Domain
|
|
||||||
|
|
||||||
find_library (LIBMAGIC_LIBRARIES magic)
|
|
||||||
find_path (LIBMAGIC_INCLUDE_DIRS magic.h)
|
|
||||||
|
|
||||||
include (FindPackageHandleStandardArgs)
|
|
||||||
find_package_handle_standard_args (LibMagic DEFAULT_MSG
|
|
||||||
LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)
|
|
||||||
|
|
||||||
mark_as_advanced (LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)
|
|
File diff suppressed because it is too large
Load Diff
2
liberty
2
liberty
@ -1 +1 @@
|
|||||||
Subproject commit bca7167d037d857448cb18243425d7c61de3bdd5
|
Subproject commit bb30c7d86ef7b165c5e00cc8e0ad2e3e85b9e617
|
Loading…
x
Reference in New Issue
Block a user