1 # When you add files here, also add them in po/POTFILES.in.
11 ConversationRoomList.cpp
34 ConversationRoomList.h
48 include_directories("${centerim5_BINARY_DIR}/src")
50 add_custom_target(git-version.h ALL VERBATIM
51 COMMAND sh -c "cd \"${centerim5_SOURCE_DIR}\"; version=`misc/git-version-gen .tarball-version`; cd \"${CMAKE_CURRENT_BINARY_DIR}\"; if test \"$version\" != \"`cat .version 2> /dev/null`\"; then printf '%s' \"$version\" > .version; sed -e \"s/@GIT_VERSION@/`cat .version`/\" < \"${CMAKE_CURRENT_SOURCE_DIR}/git-version.h.in\" > git-version.h; fi")
53 add_executable(centerim5
57 add_dependencies(centerim5 git-version.h)
59 set_property(TARGET centerim5
60 PROPERTY INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
61 target_compile_options(centerim5 PRIVATE
62 ${PURPLE_CFLAGS} ${GLIB2_CFLAGS} ${SIGC_CFLAGS})
63 target_link_libraries(centerim5 PRIVATE
64 ${PURPLE_LDFLAGS} ${GLIB2_LDFLAGS} ${SIGC_LDFLAGS} cppconsui)
66 install(TARGETS centerim5 DESTINATION bin)