Compilandolo en Windows con Cmake y MinGW - enzo418/InterpreteLenguaje GitHub Wiki

  1. Descargar el Instalador de CMake. EN LA INSTALACION seleccionar la opcion agregar variables de CMake al PATH de Windows
  2. Descargar e instalar mingw-w64 que ya viene con todas las herramientas para compilar c y c++
  3. Agregar mingw-w64 a las variables PATH de Windows, por ej. > C:\Program Files (x86)\mingw-w64\i686-4.9.2-posix-dwarf-rt_v4-rev2\mingw32\bin
  4. Abrir una consola PowerShell o CMD e ir al directorio donde esta el codigo fuente
  5. Ejecutar los siguientes comandos:
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
mingw32-make

Y se tendria que haber generado el archivo Interprete.exe en la carpeta build