[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: [Kde-bindings] CMake file for Qyoto/Kimono
From: Arno Rehn <arno () arnorehn ! de>
Date: 2006-11-26 15:07:31
Message-ID: 200611261607.31586.arno () arnorehn ! de
[Download RAW message or body]
Hi,
I've created a CMake file for Qyoto, may I transmit to SVN? I've attached it,
could someone please have a look at it? For me it works, but I'm working with
cmake for the first time, so I don't want to mess up SVN.
I called the mono library "qt-dotnet" because "qt-csharp" wouldn't be correct
(you can also use it with VB.NET, Boo and whatever).
--
Arno Rehn
arno@arnorehn.de
["CMakeLists.txt" (text/plain)]
PROJECT (kimono)
FIND_PACKAGE (Qt4 REQUIRED)
# find the SMOKE library
MESSAGE (STATUS "Looking for SMOKE library")
FIND_LIBRARY (SMOKE_PATH smokeqt)
IF (NOT SMOKE_PATH)
MESSAGE (STATUS "Looking for SMOKE library - not found")
MESSAGE (FATAL_ERROR "The SMOKE Library was not found on your system")
ELSE (NOT SMOKE_PATH)
MESSAGE (STATUS "Looking for SMOKE library - found - ${SMOKE_PATH}")
ENDIF (NOT SMOKE_PATH)
# find 'mcs'
MESSAGE (STATUS "Looking for mcs")
FIND_PROGRAM (MCS_PATH mcs)
IF (NOT MCS_PATH)
MESSAGE (STATUS "Looking for mcs - not found")
MESSAGE (FATAL_ERROR "mcs was not found on your system")
ELSE (NOT MCS_PATH)
MESSAGE (STATUS "Looking for mcs - found - ${MCS_PATH}")
ENDIF (NOT MCS_PATH)
INCLUDE_DIRECTORIES (${QT_INCLUDES})
ADD_LIBRARY (qyoto SHARED qyoto.cpp handlers.cpp)
TARGET_LINK_LIBRARIES (qyoto ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
ADD_CUSTOM_TARGET (qt-dotnet ALL ${MCS_PATH} -unsafe -warn:0 -out:qt-dotnet.dll \
-target:library SmokeInvocation.cs Qyoto.cs qyoto/*.cs qdbus/*.cs)
ADD_DEPENDENCIES (qt-dotnet qyoto)
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic