diff options
| author | Lloyd Hilaiel <lloyd@hilaiel.com> | 2008-12-18 22:46:16 -0700 |
|---|---|---|
| committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2008-12-18 22:46:16 -0700 |
| commit | d91b26ffdc375b12027a25c9b7c7847482633a74 (patch) | |
| tree | 1cc1f692bcecca126f9f7a001c04996466cce639 | |
| parent | 251b6d1c438f5a23618be718f03ca66f9c5cd9d1 (diff) | |
| download | yajl-d91b26ffdc375b12027a25c9b7c7847482633a74.tar.gz | |
add install targets for binaries 'json_verify' and 'json_reformat', add top level 'make install' handling.
| -rwxr-xr-x | configure | 2 | ||||
| -rw-r--r-- | reformatter/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | verify/CMakeLists.txt | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -83,7 +83,7 @@ File.open("Makefile", "w+") do |f| f.puts " @rm -f yajl-*.tgz" f.puts f.puts "install: all" - f.puts " @echo oops, install target not yet implemented" + f.puts " @cd build && make install" f.puts f.puts "package: all" f.puts " @echo \"compressing to `basename build/yajl-*`.tgz\"" diff --git a/reformatter/CMakeLists.txt b/reformatter/CMakeLists.txt index aa96f43..070370c 100644 --- a/reformatter/CMakeLists.txt +++ b/reformatter/CMakeLists.txt @@ -49,3 +49,5 @@ GET_TARGET_PROPERTY(binPath json_reformat LOCATION) ADD_CUSTOM_COMMAND(TARGET json_reformat POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir}) + +INSTALL(TARGETS json_reformat RUNTIME DESTINATION bin) diff --git a/verify/CMakeLists.txt b/verify/CMakeLists.txt index 987b7eb..4013663 100644 --- a/verify/CMakeLists.txt +++ b/verify/CMakeLists.txt @@ -49,3 +49,5 @@ GET_TARGET_PROPERTY(binPath json_verify LOCATION) ADD_CUSTOM_COMMAND(TARGET json_verify POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir}) + +INSTALL(TARGETS json_verify RUNTIME DESTINATION bin) |
