Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
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
Show more breadcrumbs
Dmitry Puzyrkov
celllframe-node
Commits
b8f75528
Commit
b8f75528
authored
7 years ago
by
Ivan Deniskin
Browse files
Options
Downloads
Patches
Plain Diff
Project structure
parent
8052823d
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
+25
-0
25 additions, 0 deletions
CMakeLists.txt
sources/kelvin-node.c
+13
-0
13 additions, 0 deletions
sources/kelvin-node.c
with
38 additions
and
0 deletions
CMakeLists.txt
0 → 100644
+
25
−
0
View file @
b8f75528
project
(
kelvin-node C
)
cmake_minimum_required
(
VERSION 2.8
)
set
(
CMAKE_VERBOSE_MAKEFILE ON
)
set
(
CMAKE_COLOR_MAKEFILE ON
)
set
(
CMAKE_CXX_STANDARD 11
)
add_subdirectory
(
libdap
)
add_subdirectory
(
libdap-chain
)
#add_subdirectory(libdap-server)
#add_subdirectory(libdap-stream)
include_directories
(
"
${
INCLUDE_DIRECTORIES
}
${
dap_core_INCLUDE_DIRS
}
"
)
include_directories
(
"
${
INCLUDE_DIRECTORIES
}
${
dap-chain_INCLUDE_DIRS
}
"
)
#include_directories("${INCLUDE_DIRECTORIES} ${dap-server_INCLUDE_DIRS}")
#include_directories("${INCLUDE_DIRECTORIES} ${dap-stream_INCLUDE_DIRS}")
add_definitions
(
"
${
dap_core_DEFINITIONS
}
"
)
add_definitions
(
"
${
dap-chain_DEFINITIONS
}
"
)
#add_definitions ("${dap-server_DEFINITIONS}")
#add_definitions ("${dap-stream_DEFINITIONS}")
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
"
)
add_executable
(
${
PROJECT_NAME
}
"sources/kelvin-node.c"
)
target_link_libraries
(
${
PROJECT_NAME
}
dap_core dap-chain m pthread
)
This diff is collapsed.
Click to expand it.
sources/kelvin-node.c
0 → 100644
+
13
−
0
View file @
b8f75528
#include
<errno.h>
#include
<signal.h>
#include
<stdio.h>
#include
<stdlib.h>
#include
<string.h>
#include
<unistd.h>
int
main
(
int
argc
,
char
**
argv
)
{
printf
(
"Kelvin Node version 0.1"
);
sleep
(
5
);
return
0
;
}
\ No newline at end of file
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