[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/bindings/lqt
From: Peter Kümmel <syntheticpp () yahoo ! com>
Date: 2008-07-29 7:05:01
Message-ID: 1217315101.365986.15996.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 838980 by kuemmel:
cpptoxml moved to kdesupport
M +20 -3 BUILD
M +9 -3 CMakeLists.txt
D cpptoxml (directory)
--- trunk/playground/bindings/lqt/BUILD #838979:838980
@@ -20,6 +20,26 @@
tar xzf lqt*.tar.gz
cd lqt
+Checkouts from KDE svn needs to build cpptoxml seperately
+svn.kde.org/home/kde/trunk/kdesupport/cpptoxml
+
+
+
+====================
+ CMake
+====================
+
+With qmake in and lua in PATH:
+
+cmake ..\lqt
+make
+
+
+
+====================
+qmake, step by step
+====================
+
== Build the C++ parser ==
cd cpptoxml
@@ -27,10 +47,7 @@
make
cd ..
-On Windows you could call build.bat. Lua must be in PATH and QT_INCLUDE set.
-Or step by step:
-
== Create a cpp file including the module ==
mkdir ./src
--- trunk/playground/bindings/lqt/CMakeLists.txt #838979:838980
@@ -80,10 +80,14 @@
endmacro()
set(GROUP_CODE "Source Files")
+set(LQT_BUILDIN_CPPTOXML 0)
+if(LQT_BUILDIN_CPPTOXML)
+ add_subdirectory(cpptoxml)
+else()
+#TODO find cpptpxml
+endif()
-add_subdirectory(cpptoxml)
-
macro(build_qt_lib_binding BINDING_HEADER)
string(TOLOWER ${BINDING_HEADER} BINDING_NAME)
@@ -140,7 +144,9 @@
target_link_libraries(${BINDING_NAME} ${QT_LIBRARIES} ${LUA_LIBRARY})
- add_dependencies(generate_${BINDING_NAME}_xml cpptoxml)
+ if(LQT_BUILDIN_CPPTOXML)
+ add_dependencies(generate_${BINDING_NAME}_xml cpptoxml)
+ endif()
add_dependencies(generate_${BINDING_NAME}_cpp generate_${BINDING_NAME}_xml)
add_dependencies(${BINDING_NAME} generate_${BINDING_NAME}_cpp)
endmacro()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic