Source

pynoto / src / CMakeLists.txt

Full commit
PROJECT(pynoto)

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/Include)


ADD_SUBDIRECTORY(Core)
ADD_SUBDIRECTORY(Main)
ADD_SUBDIRECTORY(IconProvider)
ADD_SUBDIRECTORY(Project)
ADD_SUBDIRECTORY(Editors)
ADD_SUBDIRECTORY(Designer)
ADD_SUBDIRECTORY(EditorsManager)
ADD_SUBDIRECTORY(TextEditor)
ADD_SUBDIRECTORY(PythonEditor)
ADD_SUBDIRECTORY(Theme)
ADD_SUBDIRECTORY(Python)
ADD_SUBDIRECTORY(PythonCode)
ADD_SUBDIRECTORY(Preferences)

SET(pynoto_srcs
    main.cpp
)

SET(pynoto_moc_srcs
)

SET(pynoto_moc_hdrs
)

QT4_WRAP_CPP(pynoto_moc_srcs ${pynoto_moc_hdrs})

ADD_EXECUTABLE(pynoto
    ${pynoto_srcs}
    ${pynoto_moc_srcs}
)

TARGET_LINK_LIBRARIES(pynoto ${QT_QTCORE_LIBRARY})
TARGET_LINK_LIBRARIES(pynoto ${QT_QTGUI_LIBRARY})
TARGET_LINK_LIBRARIES(pynoto core)

INSTALL(TARGETS pynoto DESTINATION bin)