# Building eXtremeDB Libraries on Windows

> In addition, you’ll find a `make.bat` batch file installed in the top-level installation directory. With this file you can build eXtremeDB SDK components outside your IDE.

> To run this build script its necessary to specify the environment variables BUILD_TYPE to the version of Visual Studio for this package and BUILD_PLT to either `x64` or `WIN32` depending on the operating system word size. For example, for a "win64_vs2013" package, execute the command line

>         make.bat BUILD_TYPE=VS2013 BUILD_PLT=x64 samples

> or the following three commands

>         set BUILD_TYPE=VS2013
>         set BUILD_PLT=x64
>         make.bat samples

> If you have a source code license you can also rebuild the host tools and target libraries. Again, set the BUILD_TYPE and BUILD_PLT environment variables appropriately and run make with the command line:

>         make.bat tools

> to build the host tools and target libraries, or

>         make.bat all

> to build all SDK samples, host tools and target libraries. You can also specify command line option `REBUILD=on|off` to indicate whether the binaries should be rebuilt (default is `on`), and `SHOW_BUILD_LOG=on` which will display the build log.