changeset 0:d9ab35fca14b

add cmake files.
author Mario Torre <neugens.limasoftware@gmail.com>
date Fri, 18 Feb 2011 21:49:58 +0100
parents
children e358ba4654f4
files master/cmake.patch master/series master/status
diffstat 2 files changed, 33 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/master/cmake.patch	Fri Feb 18 21:49:58 2011 +0100
@@ -0,0 +1,32 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+new file mode 100644
+index 0000000..eea5489
+--- /dev/null
++++ b/CMakeLists.txt
+@@ -0,0 +1,25 @@
++# IcedRobot CMakeList file
++# (C) the IcedRobot team
++# see www.icedrobot.org details and contacts
++
++cmake_minimum_required (VERSION 2.8)
++
++project (libdvm)
++
++include("${CMAKE_SOURCE_DIR}/../../icedrobot/make/CMakeLists.txt")
++
++# gcc flags
++add_definitions(-std=gnu99)
++
++include_directories (
++"${CMAKE_CURRENT_SOURCE_DIR}"
++"${CMAKE_CURRENT_SOURCE_DIR}/../../icedrobot/out/include/"
++)
++
++FILE (GLOB DALVIK_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *.c )
++
++SET(SOURCES
++"${DALVIK_FILES}"
++)
++
++add_library (dvm SHARED ${SOURCES})
+\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/master/series	Fri Feb 18 21:49:58 2011 +0100
@@ -0,0 +1,1 @@
+cmake.patch