Commit 7c44de53 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] move headers in include, and lib at its place

parent 24d3a745
...@@ -27,9 +27,8 @@ ADD_CUSTOM_COMMAND(TARGET interpreter-test-runfile POST_BUILD ...@@ -27,9 +27,8 @@ ADD_CUSTOM_COMMAND(TARGET interpreter-test-runfile POST_BUILD
# Test the module generation # Test the module generation
## Create an entity ## Create an entity
set(LIBRARY_NAME custom_entity) SET(LIBRARY_NAME "custom_entity")
ADD_LIBRARY(${LIBRARY_NAME} SHARED ${LIBRARY_NAME}.cpp) ADD_LIBRARY(${LIBRARY_NAME} SHARED ${LIBRARY_NAME}.cpp)
SET_TARGET_PROPERTIES(${LIBRARY_NAME} SET_TARGET_PROPERTIES(${LIBRARY_NAME}
PROPERTIES PROPERTIES
PREFIX "" PREFIX ""
......
...@@ -2,17 +2,12 @@ ...@@ -2,17 +2,12 @@
# 2019 CNRS # 2019 CNRS
# #
import os import os
import sys
import time import time
from custom_entity import CustomEntity
from dynamic_graph import (addLoggerCoutOutputStream, addLoggerFileOutputStream, closeLoggerFileOutputStream, from dynamic_graph import (addLoggerCoutOutputStream, addLoggerFileOutputStream, closeLoggerFileOutputStream,
real_time_logger_destroy, real_time_logger_spin_once) real_time_logger_destroy, real_time_logger_spin_once)
from dynamic_graph.entity import VerbosityLevel 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()) print(os.getcwd())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment