Skip to content
This repository was archived by the owner on Aug 29, 2022. It is now read-only.
This repository was archived by the owner on Aug 29, 2022. It is now read-only.

Make it buildable using the new CMake-based build system #7

@rla

Description

@rla

SWI-Prolog switched recently to CMake-based build system. New instructions based on it need to be written. It seems like the build command should be:

cd src
mkdir build
cmake -DCMAKE_TOOLCHAIN_FILE=~/emsdk/emscripten/1.38.11/cmake/Modules/Platform/Emscripten.cmake \
  -DCMAKE_BUILD_TYPE=Release \
  -DZLIB_LIBRARY=~/zlib-1.2.11/libz.a \
  -DZLIB_INCLUDE_DIR=~/zlib-1.2.11 \
  -G "Unix Makefiles" ..

The paths of the toolchain file and zlib location have to adjusted for the versions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions