Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-gdb
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-gdb
Commits
6ef66168
Unverified
Commit
6ef66168
authored
5 years ago
by
Dmitriy A. Gerasimov
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #7 from cellframe/1.1-11-Win
1.1-11-Win
parents
1b762e60
08987d5c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+12
-0
12 additions, 0 deletions
CMakeLists.txt
dap_chain_gdb.c
+13
-0
13 additions, 0 deletions
dap_chain_gdb.c
with
25 additions
and
0 deletions
CMakeLists.txt
+
12
−
0
View file @
6ef66168
...
@@ -4,6 +4,18 @@ project (dap_chain_gdb)
...
@@ -4,6 +4,18 @@ project (dap_chain_gdb)
file
(
GLOB DAP_CHAIN_GDB_SRC *.c
)
file
(
GLOB DAP_CHAIN_GDB_SRC *.c
)
file
(
GLOB DAP_CHAIN_GDB_HDR *.h
)
file
(
GLOB DAP_CHAIN_GDB_HDR *.h
)
if
(
WIN32
)
include_directories
(
../libdap/src/win32/
)
include_directories
(
../3rdparty/libmemcached/
)
include_directories
(
../3rdparty/libmemcached/win32/
)
include_directories
(
../3rdparty/wepoll/include/
)
include_directories
(
../3rdparty/uthash/src/
)
include_directories
(
../3rdparty/libjson-c/
)
include_directories
(
../3rdparty/libmagic/src/
)
include_directories
(
../3rdparty/curl/include/
)
include_directories
(
../3rdparty/libsqlite3/
)
endif
()
add_library
(
${
PROJECT_NAME
}
STATIC
${
DAP_CHAIN_GDB_SRC
}
${
DAP_CHAIN_GDB_HDR
}
)
add_library
(
${
PROJECT_NAME
}
STATIC
${
DAP_CHAIN_GDB_SRC
}
${
DAP_CHAIN_GDB_HDR
}
)
target_link_libraries
(
dap_chain_gdb dap_core dap_chain dap_chain_global_db dap_chain_mempool dap_chain_net
)
target_link_libraries
(
dap_chain_gdb dap_core dap_chain dap_chain_global_db dap_chain_mempool dap_chain_net
)
...
...
This diff is collapsed.
Click to expand it.
dap_chain_gdb.c
+
13
−
0
View file @
6ef66168
...
@@ -26,6 +26,19 @@
...
@@ -26,6 +26,19 @@
#include
<stdbool.h>
#include
<stdbool.h>
#include
<pthread.h>
#include
<pthread.h>
#ifdef _WIN32
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#include
<winsock2.h>
#include
<windows.h>
#include
<mswsock.h>
#include
<ws2tcpip.h>
#include
<io.h>
#include
<time.h>
#include
<wepoll.h>
#include
<pthread.h>
#endif
#include
"utlist.h"
#include
"utlist.h"
#include
"dap_common.h"
#include
"dap_common.h"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment