QJack / qjack / CMakeLists.txt

include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})

set(qjack_SRCS
    ringbuffer.h
    qjackport.cpp
    qjackclient.cpp
    qjackport_p.h
    qjackinport.cpp
    qjackoutport.cpp
    signalinport.cpp
    inport.h
    outport.h
    qinport.h
    qoutport.h
)

qt4_automoc(${qjack_SRCS})

add_library(qjack SHARED ${qjack_SRCS})
add_library(qjack_static STATIC ${qjack_SRCS})

SET_TARGET_PROPERTIES(qjack_static PROPERTIES OUTPUT_NAME "qjack")
SET_TARGET_PROPERTIES(qjack_static PROPERTIES PREFIX "lib")
# Help CMake 2.6.x and lower (not necessary for 2.8 and above, but doesn't hurt):
SET_TARGET_PROPERTIES(qjack PROPERTIES CLEAN_DIRECT_OUTPUT 1)
SET_TARGET_PROPERTIES(qjack_static PROPERTIES CLEAN_DIRECT_OUTPUT 1)

install(TARGETS qjack DESTINATION lib)
FILE(GLOB headers "*.h")
install(FILES ${headers} DESTINATION include/qjack)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.