Open command line and change current directory with $ cd command to the directory where you unpacked the project’s source code.
Run $ cmake -H. -Bbuild -G "Visual Studio 12" to create Makefile for Visual Studio 2013 (or use other generator if you use other IDE). Don’t forget to specify path to dependency libraries and headers with -D parameter.
Open build/ExcelFormat.sln and build solution in Visual Studio.
Optionally, you can install library by building project which name is INSTALL in Visual Studio. Remember that you must have enough rights on your system to let VS copy files to installation folder.
ExcelFormat
Original author: Martin Fuchs
Integration with CMake and bii: metamaker
ExcelFormat allows reading, writing, and editing of XLS (BIFF8 format) files using C++. For more details see http://www.codeproject.com/Articles/42504/ExcelFormat-Library.
For example application which uses ExcelFormat see https://github.com/metamaker/ExcelFormat-BiiExample.
How to build
You can use this library with
bii(http://www.biicode.com). To do this follow next steps:In some source file of your project include ExcelFormat by adding
#include <ExcelFormat/ExcelFormat.h>.Initialize bii block inside your project’s folder (if not yet then run
$ bii init -L).Run
$ bii findto download dependencies and createbiicode.conffile in the root of your project.Wire dependencies to
biicode.conf:Run
$ bii cpp:configure. You can specify your CMake generator with-Gflag like$ bii cpp:configure -G "Visual Studio 12".Run
$ bii cpp:buildto build your project.Another possible option is CMake (http://www.cmake.org/). The steps are next:
$ cdcommand to the directory where you unpacked the project’s source code.$ cmake -H. -Bbuild -G "Visual Studio 12"to create Makefile for Visual Studio 2013 (or use other generator if you use other IDE). Don’t forget to specify path to dependency libraries and headers with -D parameter.build/ExcelFormat.slnand build solution in Visual Studio.INSTALLin Visual Studio. Remember that you must have enough rights on your system to let VS copy files to installation folder.License agreement
This source code and files are licensed under The Code Project Open License (CPOL) (http://www.codeproject.com/info/cpol10.aspx). See
CPOL.htmfor details.Release history
28.04.2015 - Version 3.1
24.04.2015
03.02.2011 - Version 3.0
01.01.2011 - Version 2.5
15.11.2010 - Version 2.4
12.01.2010 - Version 2.3: (by Ami Castonguay and Martin Fuchs)
07.11.2009 - Version 2.2
04.10.2009 - Version 2.1
28.09.2009 - Version 2.0
20.09.2009 - Version 1.0 of ExcelFormat (BasicExcel Version 2.0)