Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph-python
Commits
7c44de53
Commit
7c44de53
authored
Oct 11, 2019
by
Guilhem Saurel
Browse files
[CMake] move headers in include, and lib at its place
parent
24d3a745
Changes
22
Show whitespace changes
Inline
Side-by-side
unitTesting/CMakeLists.txt
View file @
7c44de53
...
...
@@ -27,9 +27,8 @@ ADD_CUSTOM_COMMAND(TARGET interpreter-test-runfile POST_BUILD
# Test the module generation
## Create an entity
set
(
LIBRARY_NAME custom_entity
)
SET
(
LIBRARY_NAME
"
custom_entity
"
)
ADD_LIBRARY
(
${
LIBRARY_NAME
}
SHARED
${
LIBRARY_NAME
}
.cpp
)
SET_TARGET_PROPERTIES
(
${
LIBRARY_NAME
}
PROPERTIES
PREFIX
""
...
...
unitTesting/test_custom_entity.py
View file @
7c44de53
...
...
@@ -2,17 +2,12 @@
# 2019 CNRS
#
import
os
import
sys
import
time
from
custom_entity
import
CustomEntity
from
dynamic_graph
import
(
addLoggerCoutOutputStream
,
addLoggerFileOutputStream
,
closeLoggerFileOutputStream
,
real_time_logger_destroy
,
real_time_logger_spin_once
)
from
dynamic_graph.entity
import
VerbosityLevel
from
dynamic_graph_tests.custom_entity
import
CustomEntity
# Put local python module at first priority
sys
.
path
.
insert
(
0
,
os
.
getcwd
()
+
'/../src'
)
sys
.
path
.
insert
(
0
,
os
.
getcwd
())
print
(
os
.
getcwd
())
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment