llvm.org GIT mirror llvm / ea2a7d7
Fix numbering of list items. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158712 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
4848
4949 Follow these simple steps to start your project:
5050
51 #. Copy the ``llvm/projects/sample`` directory to any place of your choosing.
51 1. Copy the ``llvm/projects/sample`` directory to any place of your choosing.
5252 You can place it anywhere you like. Rename the directory to match the name
5353 of your project.
5454
55 #. If you downloaded LLVM using Subversion, remove all the directories named
55 2. If you downloaded LLVM using Subversion, remove all the directories named
5656 ``.svn`` (and all the files therein) from your project's new source tree.
5757 This will keep Subversion from thinking that your project is inside
5858 ``llvm/trunk/projects/sample``.
5959
60 #. Add your source code and Makefiles to your source tree.
61
62 #. If you want your project to be configured with the ``configure`` script then
60 3. Add your source code and Makefiles to your source tree.
61
62 4. If you want your project to be configured with the ``configure`` script then
6363 you need to edit ``autoconf/configure.ac`` as follows:
6464
6565 * **AC_INIT** - Place the name of your project, its version number and a
8080 your project uses. This macro arranges for your makefiles to be copied from
8181 the source directory, unmodified, to the build directory.
8282
83 #. After updating ``autoconf/configure.ac``, regenerate the configure script
83 5. After updating ``autoconf/configure.ac``, regenerate the configure script
8484 with these commands. (You must be using ``Autoconf`` version 2.59 or later
8585 and your ``aclocal`` version should be 1.9 or later.)
8686
8989 % cd autoconf
9090 % ./AutoRegen.sh
9191
92 #. Run ``configure`` in the directory in which you want to place object code.
92 6. Run ``configure`` in the directory in which you want to place object code.
9393 Use the following options to tell your project where it can find LLVM:
9494
9595 ``--with-llvmsrc=``