Add install step
authorDaniel Nachbaur <daniel.nachbaur@epfl.ch>
Tue, 15 Jul 2014 13:09:36 +0000 (15:09 +0200)
committerWouter van Oortmerssen <wvo@google.com>
Fri, 25 Jul 2014 23:08:20 +0000 (16:08 -0700)
Change-Id: Ie863ddcf73653d1404a1e84109ebdf66af5dff26

CMakeLists.txt

index fc0363a..f50c491 100644 (file)
@@ -71,6 +71,9 @@ add_executable(flattests ${FlatBuffers_Tests_SRCS})
 add_executable(flatsamplebinary ${FlatBuffers_Sample_Binary_SRCS})
 add_executable(flatsampletext ${FlatBuffers_Sample_Text_SRCS})
 
+install(DIRECTORY include/flatbuffers DESTINATION include)
+install(TARGETS flatc DESTINATION bin)
+
 add_test(NAME flattest
          CONFIGURATIONS Debug
          WORKING_DIRECTORY tests