Advertisement
Guest User

Dialog CMakeList.txt

a guest
May 29th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.75 KB | None | 0 0
  1. set(
  2.     graphtheory_SRCS
  3.     nodeproperties.cpp
  4.     edgeproperties.cpp
  5.     nodetypeproperties.cpp
  6.     edgetypeproperties.cpp
  7.     propertieswidget.cpp
  8.     propertydelegate.cpp
  9. )
  10.  
  11. ki18n_wrap_ui(graphtheory_SRCS
  12.     nodeproperties.ui
  13.     edgeproperties.ui
  14. )
  15.  
  16. add_library(rocsgraphtheory SHARED ${graphtheory_SRCS} )
  17. generate_export_header(rocsgraphtheory BASE_NAME graphtheory)
  18.  
  19. target_link_libraries(rocsgraphtheory
  20.     PUBLIC
  21.         Qt5::Core
  22.         Qt5::Gui
  23.         KF5::I18n
  24. )
  25.  
  26. # KI18N Translation Domain for library
  27. add_definitions(-DTRANSLATION_DOMAIN=\"libgraphtheory\")
  28.  
  29. install(TARGETS rocsgraphtheory  ${INSTALL_TARGETS_DEFAULT_ARGS})
  30. install(FILES ${rocscore_LIB_HDRS}  DESTINATION ${INCLUDE_INSTALL_DIR}/rocs  COMPONENT Devel)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement