for_developers:wrapper_lib
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
for_developers:wrapper_lib [2017/04/18 10:13] – kalberer | for_developers:wrapper_lib [2017/04/18 12:43] (current) – kalberer | ||
---|---|---|---|
Line 3: | Line 3: | ||
- Create new CMake project for a shared library. | - Create new CMake project for a shared library. | ||
+ | - Include and link against EEROS: < | ||
+ | include_directories(${EEROS_INCLUDE_DIR}) | ||
+ | link_directories(${EEROS_LIB_DIR})</ | ||
- Include and link against necessary hardware library. If the required hardware library generates a CMake Package, use '' | - Include and link against necessary hardware library. If the required hardware library generates a CMake Package, use '' | ||
include_directories(${FLINK_INCLUDE_DIR}) | include_directories(${FLINK_INCLUDE_DIR}) | ||
- | link_directories(${FLINK_LIB_DIR})</ | + | link_directories(${FLINK_LIB_DIR})</ |
- | - Create | + | if(COMEDI_INCLUDE_DIR) |
- | - These Classes | + | include_directories(${COMEDI_INCLUDE_DIR}) |
+ | endif() | ||
+ | |||
+ | find_library(COMEDI_LIBRARY comedi) | ||
+ | if(COMEDI_LIBRARY) | ||
+ | message(STATUS "-> libcomedi available" | ||
+ | set(COMEDI_LIBRARY_DIR ${COMEDI_LIBRARY_DIR} comedi) | ||
+ | endif()</ | ||
+ | - Create | ||
+ | - These classes | ||
+ | - Implement the derived functions for every class. The '' | ||
+ | - For scalable channels '' | ||
+ | - Create a C function '' | ||
+ | - Create all necessary Feature Functions as C functions. These are intended to use for all actions which cannot be called with the derived functions like setting a PWM frequency. | ||
+ | - Create a class to handle the hardware device node ('' |
for_developers/wrapper_lib.1492503186.txt.gz · Last modified: 2017/04/18 10:13 by kalberer