|
|
|
@ -85,21 +85,22 @@ TARGET_LINK_LIBRARIES(stress nvcore nvmath nvimage nvtt)
|
|
|
|
|
ADD_EXECUTABLE(nvzoom tools/resize.cpp tools/cmdline.h)
|
|
|
|
|
TARGET_LINK_LIBRARIES(nvzoom nvcore nvmath nvimage)
|
|
|
|
|
|
|
|
|
|
#include_directories("/usr/include/ffmpeg/")
|
|
|
|
|
#ADD_EXECUTABLE(nvmpegenc tools/mpegenc.cpp tools/cmdline.h)
|
|
|
|
|
#TARGET_LINK_LIBRARIES(nvmpegenc nvcore nvmath nvimage avcodec z)
|
|
|
|
|
|
|
|
|
|
INSTALL(TARGETS nvcompress nvdecompress nvddsinfo nvimgdiff nvassemble nvzoom DESTINATION bin)
|
|
|
|
|
|
|
|
|
|
include_directories("/usr/include/ffmpeg/")
|
|
|
|
|
ADD_EXECUTABLE(nvmpegenc tools/mpegenc.cpp tools/cmdline.h)
|
|
|
|
|
TARGET_LINK_LIBRARIES(nvmpegenc nvcore nvmath nvimage avcodec z)
|
|
|
|
|
INSTALL(TARGETS nvmpegenc DESTINATION bin)
|
|
|
|
|
|
|
|
|
|
# UI tools
|
|
|
|
|
IF(QT4_FOUND) # AND NOT MSVC)
|
|
|
|
|
SET(QT_USE_QTOPENGL TRUE)
|
|
|
|
|
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
|
|
|
|
|
SET(SRCS
|
|
|
|
|
tools/main.cpp
|
|
|
|
|
tools/configdialog.h
|
|
|
|
|
tools/configdialog.cpp)
|
|
|
|
|
tools/ui/main.cpp
|
|
|
|
|
tools/ui/configdialog.h
|
|
|
|
|
tools/ui/configdialog.cpp)
|
|
|
|
|
|
|
|
|
|
SET(LIBS
|
|
|
|
|
nvtt
|
|
|
|
@ -107,9 +108,9 @@ IF(QT4_FOUND) # AND NOT MSVC)
|
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
|
${QT_QTOPENGL_LIBRARY})
|
|
|
|
|
|
|
|
|
|
QT4_WRAP_UI(UICS tools/configdialog.ui)
|
|
|
|
|
QT4_WRAP_CPP(MOCS tools/configdialog.h)
|
|
|
|
|
#QT4_ADD_RESOURCES(RCCS tools/configdialog.rc)
|
|
|
|
|
QT4_WRAP_UI(UICS tools/ui/configdialog.ui)
|
|
|
|
|
QT4_WRAP_CPP(MOCS tools/ui/configdialog.h)
|
|
|
|
|
#QT4_ADD_RESOURCES(RCCS tools/ui/configdialog.rc)
|
|
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(nvcompressui MACOSX_BUNDLE ${SRCS} ${UICS} ${MOCS})
|
|
|
|
|
TARGET_LINK_LIBRARIES(nvcompressui ${LIBS})
|
|
|
|
|