Skip to content

Commit

Permalink
Changing to CMake
Browse files Browse the repository at this point in the history
Moves from autotools to CMake.

	modified:   .travis.yml
	new file:   CMakeLists.txt
	renamed:    COPYING -> LICENSE
	deleted:    Makefile.am
	deleted:    Makefile.in
	deleted:    aclocal.m4
	deleted:    autogen.sh
	deleted:    compile
	modified:   config.h.in
	deleted:    configure
	deleted:    configure.ac
	deleted:    depcomp
	renamed:    src/dicts.c -> dicts.c
	renamed:    src/dicts.h -> dicts.h
	deleted:    install-sh
	renamed:    src/mbdextract.c -> mbdextract.c
	deleted:    missing
	deleted:    src/Makefile.am
	deleted:    src/Makefile.in
  • Loading branch information
mys721tx committed Jan 6, 2016
1 parent 5b45048 commit 5206643
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 10,271 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ compiler:
- gcc
- clang
before_install:
- ./autogen.sh
script: ./configure && make
- cmake .
script: make
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
cmake_minimum_required(VERSION 2.6)

project (MBDextract)

set (MBDextract_VERSION 0.2)
set (MBDextract_BUGREPORT "mys721tx\@gmail.com")

configure_file (
"${PROJECT_SOURCE_DIR}/config.h.in"
"${PROJECT_BINARY_DIR}/config.h"
)

add_executable (mbdextract mbdextract.c dicts.h dicts.c)

install(TARGETS mbdextract DESTINATION bin)
File renamed without changes.
3 changes: 0 additions & 3 deletions Makefile.am

This file was deleted.

Loading

0 comments on commit 5206643

Please sign in to comment.