From ea5beb82ccad84fe465c8b28794fab2a2b1cd6d4 Mon Sep 17 00:00:00 2001 From: fulup Date: Sun, 9 Apr 2017 20:27:01 +0200 Subject: Cleanup and File renaming --- etc/config.cmake | 25 +++++++++++++++++-------- etc/export.map | 1 + 2 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 etc/export.map (limited to 'etc') 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: *; }; -- cgit 1.2.3-korg