diff options
author | fulup <fulup.arfoll@iot.bzh> | 2017-04-09 20:27:01 +0200 |
---|---|---|
committer | fulup <fulup.arfoll@iot.bzh> | 2017-04-09 20:27:01 +0200 |
commit | ea5beb82ccad84fe465c8b28794fab2a2b1cd6d4 (patch) | |
tree | 2f4d5b80b33861ddca5464b2e80198a977b3f358 /etc | |
parent | 110ce18498753385fb880704490c9d86807a471f (diff) |
Cleanup and File renaming
Diffstat (limited to 'etc')
-rw-r--r-- | etc/config.cmake | 25 | ||||
-rw-r--r-- | etc/export.map | 1 |
2 files changed, 18 insertions, 8 deletions
diff --git a/etc/config.cmake b/etc/config.cmake index ae27a86..57e379c 100644 --- a/etc/config.cmake +++ b/etc/config.cmake @@ -39,11 +39,20 @@ # Static constante definition # ----------------------------- add_compile_options(-DMAX_SND_CARD=16) - add_compile_options(-DCONTROL_CDEV_RX="/dev/inic-usb-crx") + +# Print a helper message when every thing is finished +# ---------------------------------------------------- + setc(CLOSING_MESSAGE "Test with: afb-daemon --ldpaths=. --port=1234 --roothttp=../htdocs --tracereq=common --token="" --verbose") + +# (BUG!!!) as PKG_CONFIG_PATH does not work [should be en env variable] +# --------------------------------------------------------------------- + setc(CMAKE_INSTALL_PREFIX ${HOME}/opt) + setc(CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig) + setc(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) # Optional dependencies order # --------------------------- - #set(EXTRA_DEPENDENCY_ORDER target1 target2 ...) + #set(EXTRA_DEPENDENCIES_ORDER target1 target2 ...) # Optional Extra global include path # ------------------------------------ @@ -53,12 +62,12 @@ # ------------------------- # set(EXTRA_LINK_LIBRARIES lib1 lib2 ... ) -# Install default destination -# -------------------------------- - # set(BINDINGS_INSTALL_DIR DestinationPath ) +# Optional force binding installation +# ------------------------------------ + # set(BINDINGS_INSTALL_PREFIX DestinationPath ) -# Print a helper message when every thing is finished -# ---------------------------------------------------- - setc(CLOSING_MESSAGE "Test with: afb-daemon --ldpaths=. --port=1234 --roothttp=../htdocs --tracereq=common --token="" --verbose") +# Optional force binding Linking flag +# ------------------------------------ + # set(BINDINGS_LINK_FLAG LinkOptions ) diff --git a/etc/export.map b/etc/export.map new file mode 100644 index 0000000..52c1b4a --- /dev/null +++ b/etc/export.map @@ -0,0 +1 @@ +{ global: afbBindingV1*; local: *; }; |