Skip to content

Commit

Permalink
Add CMake files to make dist target.
Browse files Browse the repository at this point in the history
  • Loading branch information
radarsat1 committed Aug 11, 2017
1 parent ae1716d commit 965c622
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SUBDIRS = src
if COMPILE_EXAMPLES
SUBDIRS += examples
endif
SUBDIRS += lo build @DOXYGEN@
SUBDIRS += lo build cmake @DOXYGEN@

EXTRA_DIST = libtool ltmain.sh autogen.sh

Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ To build with MS Visual Studio on Windows, first download and run the
describing which IDE you are using. This will generate project and
solution files. See `build/README.md` for more details.

Building with CMake
-------------------

If you prefer the CMake build system, support has been added. Instead
of the `configure` step listed in the previous section, create a build
directory and initialize CMake:

mkdir ~/build/liblo
cmake ~/source/liblo/cmake <more options..>
make

Examples
--------

Expand Down
5 changes: 5 additions & 0 deletions cmake/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

MAINTAINERCLEANFILES = Makefile.in

EXTRA_DIST = CMakeLists.txt config-msvc.h.in config.h.in \
libloConfig.cmake.in test-printf-I64.c test-printf-ll.c
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ AC_CONFIG_FILES([
doc/Makefile
doc/reference.doxygen
build/Makefile
cmake/Makefile
])
AC_OUTPUT

Expand Down

0 comments on commit 965c622

Please sign in to comment.