~phablet-team/aethercast/fix-for-microsoft-dongle

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Simon Fels
  • Date: 2016-03-02 14:25:01 UTC
  • mfrom: (119.2.3 support-cross-compile)
  • Revision ID: tarmac-20160302142501-wfzthvz4e91grs7w
Add cross-compilation support.

Approved by PS Jenkins bot, Thomas Voß.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
configure_file(w11tng/config.h.in w11tng/config.h @ONLY)
28
28
 
29
29
set(HEADERS
30
 
    mcs/ip_v4_address.h
31
 
    mcs/keep_alive.h
32
 
    mcs/mac_address.h
33
 
    mcs/types.h
34
 
    mcs/shared_gobject.h
35
 
    mcs/keep_alive.h
 
30
  mcs/ip_v4_address.h
 
31
  mcs/keep_alive.h
 
32
  mcs/mac_address.h
 
33
  mcs/types.h
 
34
  mcs/shared_gobject.h
 
35
  mcs/keep_alive.h
 
36
  mcs/config.h
36
37
 
37
 
    mcs/config.h
38
 
    w11tng/config.h
 
38
  w11tng/config.h
39
39
)
40
40
 
41
41
set(SOURCES
83
83
  w11tng/hostname1stub.cpp
84
84
)
85
85
 
86
 
link_directories(
87
 
  ${GLIB_LIBRARY_DIRS}
88
 
  ${GIO_LIBRARY_DIRS}
89
 
  ${GIO-UNIX_LIBRARY_DIRS}
90
 
  ${WDS_LIBRARY_DIRS}
91
 
)
92
 
 
93
86
include_directories(
94
87
  ${Boost_INCLUDE_DIRS}
95
88
  ${GLIB_INCLUDE_DIRS}
106
99
add_executable(aethercast mcs/main.cpp)
107
100
 
108
101
target_link_libraries(aethercast-core
 
102
  ${Boost_LDFLAGS}
109
103
  ${Boost_LIBRARIES}
 
104
  ${GLIB_LDFLAGS}
110
105
  ${GLIB_LIBRARIES}
 
106
  ${GIO_LDFLAGS}
111
107
  ${GIO_LIBRARIES}
 
108
  ${GIO-UNIX_LDFLAGS}
112
109
  ${GIO-UNIX_LIBRARIES}
 
110
  ${GST_LDFLAGS}
113
111
  ${GST_LIBRARIES}
114
112
  ${CMAKE_THREAD_LIBS_INIT}
 
113
  ${WDS_LDFLAGS}
115
114
  ${WDS_LIBRARIES}
116
115
  -ldl
117
116
)