spectrum2/msvc-deps/protobuf/libprotobuf/CMakeLists.txt
2012-03-21 15:39:58 +04:00

8 lines
No EOL
423 B
CMake

cmake_minimum_required(VERSION 2.6)
FILE(GLOB SRC google/protobuf/*.cc google/protobuf/*.h google/protobuf/io/*.cc google/protobuf/io/*.h google/protobuf/stubs/*.cc google/protobuf/stubs/*.h google/protobuf/compiler/*.cc google/protobuf/compiler/*.h)
include_directories(.)
ADD_LIBRARY(libprotobuf STATIC ${HEADERS} ${SRC})
INSTALL(TARGETS libprotobuf LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)