Fix: compile error initializing afb_auth struct.
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 12 Jul 2017 15:42:16 +0000 (17:42 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Fri, 21 Jul 2017 10:02:10 +0000 (12:02 +0200)
std=c++11 isn't needed.
Added new class to the build and comment an other that
isn't used.

Change-Id: Ic32dead5e1ab55e0405f5e70224e4dad2c066116
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
conf.d/cmake/config.cmake
low-can-binding/CMakeLists.txt

index 9d7e97d..3f36105 100644 (file)
@@ -67,9 +67,7 @@ set (PKG_REQUIRED_LIST
 
 # Static constante definition
 # -----------------------------
-add_compile_options(-D_REENTRANT)
 add_compile_options(-DPB_FIELD_16BIT)
-add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-std=c++11>)
 add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-pthread>)
 
 # Customize link option
index cd38fca..fd68e6c 100644 (file)
@@ -24,6 +24,7 @@ PROJECT_TARGET_ADD(low-can)
        add_library(${TARGET_NAME} MODULE
                binding/${TARGET_NAME}-hat.cpp
                binding/${TARGET_NAME}-cb.cpp
+               binding/${TARGET_NAME}-socket.cpp
                binding/${TARGET_NAME}-subscription.cpp
                binding/application.cpp
                binding/application-generated.cpp
@@ -40,7 +41,7 @@ PROJECT_TARGET_ADD(low-can)
                utils/openxc-utils.cpp
                utils/timer.cpp
                utils/socketcan.cpp
-               utils/socketcan-raw.cpp
+               #utils/socketcan-raw.cpp
                utils/socketcan-bcm.cpp
                utils/config-parser.cpp)