1# $Id: readme.dos,v 6.15 2012/07/10 19:26:57 mcelhany Exp $
2# By Denis Vakatov, NCBI
3
4
5Getting the NCBI C Toolkit sources
6------------------------------------
7
8Anyone can download a self-extracting archive via FTP, or browse via ViewVC:
9    ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/CURRENT/ncbiz.exe
10    http://www.ncbi.nlm.nih.gov/viewvc/cvs/ncbi/
11
12NCBI users can also access the C Toolkit sources using various browsers:
13    http://mini.ncbi.nlm.nih.gov/1k2ro (LXR browser)
14    http://mini.ncbi.nlm.nih.gov/1k2rp (CVS browser)
15
16Note: If you are using both the C Toolkit and the C++ Toolkit, please see
17the C++ Toolkit book chapter "C Toolkit Resources for C++ Toolkit Users":
18    http://www.ncbi.nlm.nih.gov/books/NBK7180/
19
20
21
22Building the NCBI C Toolkit
23-----------------------------
24
25For the following instructions, we assume:
26* the Toolkit sources are deployed in "C:\ncbi"; and
27* you are using Visual Studio 2010 (if using another version, change the
28  instances of "msvc1000_prj" below to reflect your version).
29
301) Run Microsoft Visual Studio.
31
322) Load the NCBI C Toolkit project solution:
33      "File" / "Open" / "Project/Solution..."
34         C:\ncbi\make\msvc1000_prj\ncbi.sln
35
363) Set the build mode (default is Debug/Win32):
37      "Build" / "Configuration Manager"
38
394) Build the entire Toolkit or the desired project(s).
404.1) To build everything, choose "all".
414.2) Or, you can choose to build any libraries or applications
42     in any configuration by making the appropriate selection using either
43     the "Solution Explorer" or the "Class View" pane.
44
455) On success, the libraries and executables can be found under
46      C:\ncbi\make\msvc1000_prj\...\<build_mode>\
47   where "..." represents the hierarchy of the selected build items and
48   <build_mode> stands for one of (see step 3 above):
49      Debug, DebugDLL, Release, ReleaseDLL.
50
51   For example, if you chose to build the "Release" configuration, then
52   the built executables will be located at:
53      C:\ncbi\make\msvc1000_prj\...\Release\*.exe
54
55
56*****  Please send your remarks to:  <toolbox@ncbi.nlm.nih.gov>  *****
57
58