Add .prf for the win32 users out there.
svn path=/branches/work/~ervin/qtjolie/; revision=978898
This commit is contained in:
parent
da489685b0
commit
6cb4ade6d6
@ -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)
|
||||
|
13
private/qtjolie-branch/qtjolie/QtJolie.prf.cmake
Normal file
13
private/qtjolie-branch/qtjolie/QtJolie.prf.cmake
Normal 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
|
Loading…
x
Reference in New Issue
Block a user