Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

hmm

  • Loading branch information...
commit d1b1bfbe9b778a718950639efa68aa92eea93b41 1 parent 08b2c36
@tokuhirom authored
Showing with 7 additions and 4 deletions.
  1. +1 −2  CMakeLists.txt
  2. +6 −2 ext/Socket/CMakeLists.txt
View
3  CMakeLists.txt
@@ -23,8 +23,7 @@ endif ()
find_package(RE2C REQUIRED)
-SET(serial "0.0.0")
-SET(soserial "1")
+SET(TORA_VERSION "0.0.5")
RE2C_TARGET(
tora/lexer.re
View
8 ext/Socket/CMakeLists.txt
@@ -12,6 +12,10 @@ INCLUDE_DIRECTORIES("${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/../../tora/")
ADD_LIBRARY(socket SHARED socket.cc)
# test settings
+if (!TORA_VERSION)
+
+endif(TORA_VERSION)
+message("tora: ${TORA_VERSION}")
ADD_CUSTOM_TARGET(test COMMAND prove --exec "${PROJECT_SOURCE_DIR}/../../bin/tora -I lib -I ../../lib" t/*.tra DEPENDS socket)
-# INSTALL(TARGETS socket LIBRARY DESTINATION lib)
-# INSTALL(FILES unarray.h DESTINATION include)
+INSTALL(TARGETS socket LIBRARY DESTINATION "lib/tora-${TORA_VERSION}/")
+
Please sign in to comment.
Something went wrong with that request. Please try again.