blond-org / BLonD-cpp

BLonD implementation in C++
GNU General Public License v3.0
2 stars 3 forks source link

Windows compatibility #31

Closed kiliakis closed 8 years ago

kiliakis commented 8 years ago

Windows compatibility can be achieved without having to effect any lines of code. The steps that have to be followed are:

  1. Install cygwin64 (without any extra packages)
  2. Install apt-cyg
  3. Using a package_list.txt, the extra packages needed can be installed by typing bash apt-cyg install $(cat packege_list.txt)
  4. Copy the correct .h, .dll in external/install/lib,include
  5. add external/install/lib to the PATH variable
  6. Ready to cmake, build, compile!

CMakeLists.txt needs some small modifications:

kiliakis commented 8 years ago

CYGWIN is true(1) when building with the cmake version of cygwin

kiliakis commented 8 years ago

BLonD-cpp is compatible with windows under cygwin