Skip to content

dehilsterlexis/eclide

Repository files navigation

ECL IDE

Building on windows

Prerequisits

  • git (optional - needed to clone sources)
  • cmake
  • Visual Studio 2017 / 2019
  • NSIS (optional - needed to create install package)

Clone the repository

git clone https://github.com/hpcc-systems/eclide.git eclide
cd eclide
git submodule update --init --recursive

Fetch the third-party libraries (via vcpkg)

cd vcpkg
bootstrap-vcpkg.bat
vcpkg install --keep-going boost-crc boost-asio boost-date-time boost-filesystem boost-format boost-multi-index boost-program-options boost-ptr-container boost-random boost-serialization boost-signals boost-spirit boost-thread scintilla wtl gsoap bugtrap

Create an out of source build folder

cd ..
mkdir build
cd build

Generate Visual Studio Solution

cmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake
...or...
cmake .. -G "Visual Studio 16 2019" -A Win32 -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake

Build

cmake --build . --config RelWithDebInfo -- -m

Supported Builds

cmake --build . --config Debug -- -m
cmake --build . --config RelWithDebInfo -- -m
cmake --build . --config Release -- -m
cmake --build . --config MinSizeRel -- -m

Create Installer

cmake --build . --config RelWithDebInfo --target package -- -m