[mlpack-git] [mlpack/mlpack] try CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ? (#622)

xantares notifications at github.com
Sat Apr 16 02:47:32 EDT 2016


@rcurtin, optimization flags set in CMakeLists are not supported by all compilers, use
https://cmake.org/cmake/help/v3.0/module/CheckCXXCompilerFlag.html?highlight=checkcxxcompiler#module:CheckCXXCompilerFlag
instead of guessing:
if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")

```
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O3")
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/622#issuecomment-210748603
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160415/67a466a0/attachment-0001.html>


More information about the mlpack-git mailing list