Add .prf for the win32 users out there.

svn path=/branches/work/~ervin/qtjolie/; revision=978898
This commit is contained in:
Rob Scheepmaker 2009-06-08 13:34:54 +00:00
parent da489685b0
commit 6cb4ade6d6
2 changed files with 16 additions and 0 deletions

View File

@ -46,3 +46,6 @@ if(NOT WIN32) # pkgconfig file
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/QtJolie.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/QtJolie.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/QtJolie.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
endif(NOT WIN32)
configure_file("QtJolie.prf.cmake" "${CMAKE_BINARY_DIR}/QtJolie.prf" @ONLY)
install(FILES "${CMAKE_BINARY_DIR}/QtJolie.prf" DESTINATION ${CMAKE_INSTALL_PREFIX}/mkspecs/features)

View File

@ -0,0 +1,13 @@
QTJOLIE_INCDIR = @INCLUDE_INSTALL_DIR@
QTJOLIE_LIBDIR = @LIB_INSTALL_DIR@
CONFIG *= qt
INCLUDEPATH += $$QTJOLIE_INCDIR
LIBS += -L$$QTJOLIE_LIBDIR
LINKAGE = -llibQtJolie
CONFIG(debug, debug|release) {
windows:LINKAGE = -llibQtJolied
mac:LINKAGE = -llibQtJolie_debug
}
LIBS += $$LINKAGE