Skip to content

Commit

Permalink
0.20180608
Browse files Browse the repository at this point in the history
Return CMake to the root path
  • Loading branch information
zvezdochiot committed Jul 17, 2018
1 parent 22d3115 commit e39e4bc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
File renamed without changes.
18 changes: 9 additions & 9 deletions src/CMakeLists.txt → CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ include_directories(${SDL2_INCLUDE_DIR})

add_library(v2m
SHARED
ronan.cpp
v2mplayer.cpp
v2mconv.cpp
synth_core.cpp
sounddef.cpp
src/ronan.cpp
src/v2mplayer.cpp
src/v2mconv.cpp
src/synth_core.cpp
src/sounddef.cpp
)
set_target_properties(v2m PROPERTIES VERSION ${V2M_VERSION} SOVERSION ${MAJOR_VERSION})

add_executable(v2mplayer
tinyplayer.cpp
src/tinyplayer.cpp
)
target_link_libraries(v2mplayer
${SDL2_LIBRARY}
Expand All @@ -32,6 +32,6 @@ target_link_libraries(v2mplayer

install(TARGETS v2m DESTINATION lib)
install(TARGETS v2mplayer DESTINATION bin)
install(FILES ../man/man1/v2mplayer.1 DESTINATION share/man/man1)
install(FILES libv2.h phonemtab.h sounddef.h synth.h types.h v2mconv.h v2mplayer.h DESTINATION include/v2m)
install(FILES ../LICENSE ../README.md ../doc/AUTHORS ../doc/CHANGELOG ../doc/VERSION DESTINATION share/doc/v2mplayer)
install(FILES man/man1/v2mplayer.1 DESTINATION share/man/man1)
install(FILES src/libv2.h src/phonemtab.h src/sounddef.h src/synth.h src/types.h src/v2mconv.h src/v2mplayer.h DESTINATION include/v2m)
install(FILES LICENSE README.md doc/AUTHORS doc/CHANGELOG doc/VERSION DESTINATION share/doc/v2mplayer)
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ This is a quick port of the tinyplayer at https://github.com/farbrausch/fr_publi
## Build

```
cd src
ccmake .
cmake .
make
Expand All @@ -18,7 +17,7 @@ sudo make install
## Usage

```
./v2mplayer ../v2m/breeze.v2m
./v2mplayer v2m/breeze.v2m
```

---
Expand Down

0 comments on commit e39e4bc

Please sign in to comment.