Skip to content
This repository
Newer
Older
100644 61 lines (40 sloc) 1.609 kb
a530c23d »
2010-11-23 cmake: Add wrapper Makefile and README.
1 Instructions for building with cmake
2
3 Make sure you have cmake:
4 Ubuntu/Debian: sudo apt-get install cmake
5 Mac: http://www.cmake.org/files/v2.8/cmake-2.8.3-Darwin-universal.dmg
6 Other platforms: http://www.cmake.org/cmake/resources/software.html
7
8 To build:
9
10 make -f Makefile.cmake
11 make -f Makefile.cmake install
12
13 To run the tests:
14
15 make -f Makefile.cmake test
16
17 To build the documentation:
18
19 make -f Makefile.cmake doc
20
21 To read the documentation:
22
23 man doc/node.1
24
25 To build distro packages (tgz, deb, rpm, PackageMaker):
26
27 make -f Makefile.cmake package
28
14e6b07f »
2010-11-23 cmake: Add cdash support.
29 To submit test results (see http://my.cdash.org/index.php?project=node):
30
31 make -f Makefile.cmake cdash
32
b46f10a1 »
2010-11-24 cmake: Add coverage support.
33 To submit coverage test results:
34
35 make -f Makefile.cmake cdash-cov
36
a530c23d »
2010-11-23 cmake: Add wrapper Makefile and README.
37 Using cmake directly:
38 cd ~/your-node-source-dir
39 mkdir name-of-build-dir (can be anything)
40 cd name-of-build-dir
41 cmake ..
42
43 At this point you have generated a set of Makefiles and can use the standard
44 make commands (make, make install, etc.). The Makefile.cmake file is just a
45 wrapper around these commands; take a look at it for more details.
46
14e6b07f »
2010-11-23 cmake: Add cdash support.
47 Other build targets:
48 make Experimental
49 make Nightly
50 make Continuous
51
a530c23d »
2010-11-23 cmake: Add wrapper Makefile and README.
52 Additional options:
53 In the CMakeLists.txt, you'll see things like
54 option(SHARED_V8, ...). If you want to enable any of those options you can
55 pass "-DOPTION=True" when running cmake (e.g., cmake -DSHARED_V8=True).
56
57 See http://nodejs.org/ for more information. For help and discussion
58 subscribe to the mailing list by visiting
59 http://groups.google.com/group/nodejs or by sending an email to
60 nodejs+subscribe@googlegroups.com.
Something went wrong with that request. Please try again.