Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 57 lines (38 sloc) 1.539 kB
a530c23 @thughes cmake: Add wrapper Makefile and README.
thughes authored
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
14e6b07 @thughes cmake: Add cdash support.
thughes authored
29 To submit test results (see http://my.cdash.org/index.php?project=node):
30
31 make -f Makefile.cmake cdash
32
a530c23 @thughes cmake: Add wrapper Makefile and README.
thughes authored
33 Using cmake directly:
34 cd ~/your-node-source-dir
35 mkdir name-of-build-dir (can be anything)
36 cd name-of-build-dir
37 cmake ..
38
39 At this point you have generated a set of Makefiles and can use the standard
40 make commands (make, make install, etc.). The Makefile.cmake file is just a
41 wrapper around these commands; take a look at it for more details.
42
14e6b07 @thughes cmake: Add cdash support.
thughes authored
43 Other build targets:
44 make Experimental
45 make Nightly
46 make Continuous
47
a530c23 @thughes cmake: Add wrapper Makefile and README.
thughes authored
48 Additional options:
49 In the CMakeLists.txt, you'll see things like
50 option(SHARED_V8, ...). If you want to enable any of those options you can
51 pass "-DOPTION=True" when running cmake (e.g., cmake -DSHARED_V8=True).
52
53 See http://nodejs.org/ for more information. For help and discussion
54 subscribe to the mailing list by visiting
55 http://groups.google.com/group/nodejs or by sending an email to
56 nodejs+subscribe@googlegroups.com.
Something went wrong with that request. Please try again.