mirror of
https://github.com/emqx/neuron.git
synced 2026-10-17 04:40:42 +08:00
Merge pull request #1044 from eeff/eeff/dev
Make source self contained by removing uthash submodule
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
[submodule "extern/uthash"]
|
||||
path = extern/uthash
|
||||
url = https://github.com/troydhanson/uthash.git
|
||||
|
||||
@@ -44,10 +44,6 @@ add_custom_target(neuron-version
|
||||
COMMAND ${CMAKE_COMMAND} -P
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmake/neuron-version.cmake)
|
||||
|
||||
configure_file(extern/uthash/include/uthash.h ${CMAKE_SOURCE_DIR}/include/neuron/utils/uthash.h)
|
||||
configure_file(extern/uthash/include/utarray.h ${CMAKE_SOURCE_DIR}/include/neuron/utils/utarray.h)
|
||||
configure_file(extern/uthash/include/utlist.h ${CMAKE_SOURCE_DIR}/include/neuron/utils/utlist.h)
|
||||
|
||||
find_package(nng CONFIG REQUIRED)
|
||||
find_package(Threads)
|
||||
|
||||
|
||||
@@ -77,7 +77,6 @@ Neuron 文档地址:[https://neugates.io/docs/zh/latest/](https://neugates.io/
|
||||
```
|
||||
$ git clone https://github.com/emqx/neuron
|
||||
$ cd neuron
|
||||
$ git submodule update --init
|
||||
$ mkdir build && cd build
|
||||
$ cmake .. && make
|
||||
```
|
||||
|
||||
@@ -74,7 +74,6 @@ The Neuron documentation is available at [neugates.io/docs/en/latest/](https://n
|
||||
```
|
||||
$ git clone https://github.com/emqx/neuron
|
||||
$ cd neuron
|
||||
$ git submodule update --init
|
||||
$ mkdir build && cd build
|
||||
$ cmake .. && make
|
||||
```
|
||||
|
||||
Vendored
-1
Submodule extern/uthash deleted from 44a66fe8e0
Reference in New Issue
Block a user