diff options
author | 2017-04-14 12:09:47 +0200 | |
---|---|---|
committer | 2017-04-14 12:09:47 +0200 | |
commit | 044ef27d3667a114964549f89c63ab1ea6655877 (patch) | |
tree | dd7a042e7fa161de42b94bf8046383dc2e992547 /etc/config.cmake | |
parent | 2f47684220a5d398767ee35e0c2c949b27839197 (diff) |
Cleaning CMAke
Change-Id: I4efb09946474fadcf41cf9d04ad0f462ae4d0704
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'etc/config.cmake')
-rw-r--r-- | etc/config.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/config.cmake b/etc/config.cmake index 849f77d..4b910d2 100644 --- a/etc/config.cmake +++ b/etc/config.cmake @@ -42,8 +42,12 @@ set (PKG_REQUIRED_LIST add_compile_options(-D_REENTRANT) add_compile_options(-DPB_FIELD_16BIT) +# LANG Specific compile flags set for all build types +set(CMAKE_C_FLAGS "") +set(CMAKE_CXX_FLAGS "-std=c++11") + # Print a helper message when every thing is finished -setc(CLOSING_MESSAGE "Test with: afb-daemon --ldpaths=\$\$(pwd)/package/lib --port=1234 --roothttp=\$\$(pwd)/package/htdocs --tracereq=common --token=\"\" --verbose") +setc(CLOSING_MESSAGE "Test with: afb-daemon --ldpaths=\$\$(pwd)/low-can-binding/package/lib --port=1234 --roothttp=\$\$(pwd)/package/htdocs --tracereq=common --token=\"\" --verbose") # ---------------------------------------------------- # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] @@ -54,7 +58,7 @@ setc(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) # Optional dependencies order # --------------------------- -set(EXTRA_DEPENDENCIES_ORDER can-config-generator openxc-libs low-can-binding) +set(EXTRA_DEPENDENCIES_ORDER can-config-generator low-can-binding) # Optional Extra global include path # ----------------------------------- |