From ff21555a76bfb99e52dd7c21298f4c5ed2b5318d Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 25 Aug 2014 13:39:15 +0900 Subject: [PATCH] remove needless files --- CMakeLists.txt | 32 -------------------------------- include/.dir-locals.el | 3 --- include/picrin/.dir-locals.el | 4 ---- 3 files changed, 39 deletions(-) delete mode 100644 CMakeLists.txt delete mode 100644 include/.dir-locals.el delete mode 100644 include/picrin/.dir-locals.el diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index f3e51499..00000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -find_package(Perl REQUIRED) - -# xfile -set(XFILE_SOURCES extlib/xfile/xfile.c) - -# piclib -set(PICLIB_SOURCE ${PROJECT_SOURCE_DIR}/src/load_piclib.c) -add_custom_command( - OUTPUT ${PICLIB_SOURCE} - COMMAND ${PERL_EXECUTABLE} etc/mkloader.pl ${PICLIB_SCHEME_LIBS} ${PICLIB_CONTRIB_LIBS} > ${PICLIB_SOURCE} - DEPENDS ${PICLIB_SCHEME_LIBS} ${PICLIB_CONTRIB_LIBS} - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} - ) - -# contrib -set(CONTRIB_INIT ${PROJECT_SOURCE_DIR}/src/init_contrib.c) -add_custom_command( - OUTPUT ${CONTRIB_INIT} - COMMAND ${PERL_EXECUTABLE} etc/mkinit.pl ${PICRIN_CONTRIB_INITS} > ${CONTRIB_INIT} - DEPENDS ${PICRIN_CONTRIB_SOURCES} - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} - ) - -# build! -file(GLOB PICRIN_SOURCES ${PROJECT_SOURCE_DIR}/src/*.c) -add_library(picrin SHARED ${PICRIN_SOURCES} ${PICLIB_SOURCE} ${XFILE_SOURCES} ${PICRIN_CONTRIB_SOURCES} ${CONTRIB_INIT}) -target_link_libraries(picrin m ${PICRIN_CONTRIB_LIBRARIES}) - -# install -set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) -install(TARGETS picrin DESTINATION lib) -install(DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*.h") diff --git a/include/.dir-locals.el b/include/.dir-locals.el deleted file mode 100644 index 02363d3f..00000000 --- a/include/.dir-locals.el +++ /dev/null @@ -1,3 +0,0 @@ -((c-mode . ((flycheck-clang-include-path . ( "../extlib")) - (flycheck-clang-warnings . ("all" "extra")) - (flycheck-clang-language-standard . "c99")))) diff --git a/include/picrin/.dir-locals.el b/include/picrin/.dir-locals.el deleted file mode 100644 index 24adc5af..00000000 --- a/include/picrin/.dir-locals.el +++ /dev/null @@ -1,4 +0,0 @@ -((c-mode . ((flycheck-clang-includes . ("../picrin.h")) - (flycheck-clang-include-path . ( "../../extlib")) - (flycheck-clang-warnings . ("all" "extra")) - (flycheck-clang-language-standard . "c99"))))