Skip to content

Commit 9a48a2a

Browse files
authored
Merge pull request #154 from p01arst0rm/update-build-info
updated build information
2 parents 4eeb9bc + 4536957 commit 9a48a2a

File tree

2 files changed

+59
-49
lines changed

2 files changed

+59
-49
lines changed

README.md

Lines changed: 3 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Lucene++ is an up to date C++ port of the popular Java [Lucene](http://lucene.ap
77
library, a high-performance, full-featured text search engine.
88

99

10-
Components
10+
Lucene++ Components
1111
----------------
1212

1313
- liblucene++ library
@@ -17,6 +17,8 @@ Components
1717
- indexfiles (demo)
1818
- searchfiles (demo)
1919

20+
For information on building the Lucene++ suite, please read doc/BUILDING.md
21+
2022

2123
Useful Resources
2224
----------------
@@ -26,52 +28,6 @@ documentation relevant to Lucene and lucene++. [Lucene in Action](https://www.am
2628
by Otis Gospodnetic and Erik Hatcher.
2729

2830

29-
Build Instructions
30-
------------------
31-
32-
You'll need the [Boost](http://www.boost.org) libraries installed somewhere.
33-
34-
On Debian systems, the following packages are required:
35-
- zlib1g-dev
36-
- libboost-date-time-dev
37-
- libboost-filesystem-dev
38-
- libboost-regex-dev
39-
- libboost-thread-dev
40-
- libboost-iostreams-dev
41-
42-
To build the library the following commands should be issued::
43-
44-
$ mkdir build; cd build
45-
$ cmake ..
46-
$ make
47-
$ make install
48-
49-
50-
Build Instructions for Windows systems
51-
--------------------------------------
52-
53-
Once installing the dependencies, open cmake-gui and configure the build.
54-
When building on windows, ensure that the `ENABLE_CYCLIC_CHECK` option
55-
is set to `true`.
56-
57-
Next, open the visual studio project with the 'open project' button. the
58-
project is built using the `ALL_BUILD` solution in the projects column.
59-
If you would like to install the project, build the `INSTALL` solution
60-
after the fact.
61-
62-
**
63-
Note: if you wish to install the Lucene++ library to a protected area, you
64-
must re-open the visual studio project as an administrator
65-
**
66-
67-
**
68-
Note: "BOOST_ROOT" environment variable must be defined to point to the
69-
Boost library directory (eg. c:\\local\\Boost). cmake should automatically
70-
find the installed libraries if they are installed within that path;
71-
e.g. C:\\local\\Boost\\lib64-msvc-14.2
72-
**
73-
74-
7531
To run unit test suite
7632
----------------------
7733

@@ -92,8 +48,6 @@ recieve errors telling you that required libraries cannot be found.
9248
Command options can be discovered by supplying `--help`.
9349

9450

95-
96-
9751
To run the demos
9852
----------------
9953

doc/BUILDING.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
Build Instructions
2+
==========
3+
4+
You'll need the following dependencies installed on your system.
5+
6+
- [ZLib](https://zlib.net/)
7+
- [Boost](http://www.boost.org) libraries::
8+
- date-time
9+
- filesystem
10+
- regex
11+
- thread
12+
- iostreams
13+
14+
e.g. on Debian systems, the following packages are required:
15+
- zlib1g-dev
16+
- libboost-date-time-dev
17+
- libboost-filesystem-dev
18+
- libboost-regex-dev
19+
- libboost-thread-dev
20+
- libboost-iostreams-dev
21+
22+
23+
Build Instructions for linux systems
24+
--------------------------------------
25+
26+
To build the library the following commands should be issued::
27+
28+
$ mkdir build; cd build
29+
$ cmake ..
30+
$ make
31+
$ make install
32+
33+
Build Instructions for Windows systems
34+
--------------------------------------
35+
36+
Once you have installed the dependencies and added the installation
37+
location to your `CMAKE_PREFIX_PATH`, open cmake-gui and configure the
38+
build. When building on windows, ensure that the `ENABLE_CYCLIC_CHECK`
39+
option is set to `true`.
40+
41+
Next, open the visual studio project with the 'open project' button. the
42+
project is built using the `ALL_BUILD` solution in the projects column.
43+
If you would like to install the project, build the `INSTALL` solution
44+
after the fact.
45+
46+
**
47+
Note: if you wish to install the Lucene++ library to a protected area, you
48+
must re-open the visual studio project as an administrator
49+
**
50+
51+
**
52+
Note: "BOOST_ROOT" environment variable must be defined to point to the
53+
Boost library directory (eg. c:\\local\\Boost). cmake should automatically
54+
find the installed libraries if they are installed within that path;
55+
e.g. C:\\local\\Boost\\lib64-msvc-14.2
56+
**

0 commit comments

Comments
 (0)