CMakeLists.txt 403 B

1234567891011121314151617
  1. add_sources(PowerComponent.h PowerComponent.cpp)
  2. if(APPLE)
  3. add_sources(PowerComponentMac.cpp PowerComponentMac.h)
  4. endif(APPLE)
  5. if(LINUX_X11POWER)
  6. add_sources(PowerComponentX11.cpp PowerComponentX11.h)
  7. endif(LINUX_X11POWER)
  8. if(LINUX_DBUS)
  9. add_sources(PowerComponentDBus.cpp PowerComponentDBus.h)
  10. endif(LINUX_DBUS)
  11. if(WIN32)
  12. add_sources(PowerComponentWin.cpp PowerComponentWin.h)
  13. endif(WIN32)