diff options
author | Kibum Kim <kb0929.kim@samsung.com> | 2012-01-07 00:42:27 +0900 |
---|---|---|
committer | Kibum Kim <kb0929.kim@samsung.com> | 2012-01-07 00:42:27 +0900 |
commit | 5ae7ffcf1fea1aeecd2b433f224e5c01bb113518 (patch) | |
tree | 0ebfed597d7f7c08bc059742d3f3a0f82326748e /CMakeLists.txt | |
parent | e0ca36eef24c43274d4a5375cd492c0cdcbec878 (diff) | |
download | common-5ae7ffcf1fea1aeecd2b433f224e5c01bb113518.tar.gz common-5ae7ffcf1fea1aeecd2b433f224e5c01bb113518.tar.bz2 common-5ae7ffcf1fea1aeecd2b433f224e5c01bb113518.zip |
Git init
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100755 index 0000000..360f921 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,44 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 2.6) + +PROJECT("capi-base-common") + +SET(CMAKE_INSTALL_PREFIX "/usr") +SET(PREFIX ${CMAKE_INSTALL_PREFIX}) +SET(VERSION 0.0.1) + +INSTALL(FILES include/tizen.h DESTINATION include) +INSTALL(FILES include/tizen_error.h DESTINATION include) +INSTALL(FILES include/tizen_type.h DESTINATION include) + +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/capi-base-common.pc DESTINATION lib/pkgconfig) + +IF(UNIX) + +ADD_CUSTOM_TARGET (distclean @echo cleaning for source distribution) +ADD_CUSTOM_COMMAND( + DEPENDS clean + COMMENT "distribution clean" + COMMAND find + ARGS . + -not -name config.cmake -and \( + -name tester.c -or + -name Testing -or + -name CMakeFiles -or + -name cmake.depends -or + -name cmake.check_depends -or + -name CMakeCache.txt -or + -name cmake.check_cache -or + -name *.cmake -or + -name Makefile -or + -name core -or + -name core.* -or + -name gmon.out -or + -name install_manifest.txt -or + -name *.pc -or + -name *~ \) + | grep -v TC | xargs rm -rf + TARGET distclean + VERBATIM +) + +ENDIF(UNIX) |