Commit fdca7830 authored by Ma Bingyao's avatar Ma Bingyao

Added CmakeLists.txt

parent d7301a55
......@@ -8,8 +8,6 @@ CMakeCache.txt
*.out
*.txt
*.a
Makefile
......
cmake_minimum_required(VERSION 2.6)
SET(LIBXXTEA_SRC xxtea.c)
ADD_LIBRARY(xxtea STATIC ${LIBXXTEA_SRC})
INSTALL(TARGETS xxtea
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
INSTALL(FILES xxtea.h DESTINATION include)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment