~alan-griffiths/mir/0.21-hacks

« back to all changes in this revision

Viewing changes to tests/mir_test_doubles/CMakeLists.txt

  • Committer: Alan Griffiths
  • Date: 2017-03-03 16:57:13 UTC
  • Revision ID: alan@octopull.co.uk-20170303165713-qia31vedpspvsq5u
More hacks to get mirtest working

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
  mock_input_device.cpp
17
17
  mock_frame_dropping_policy_factory.cpp
18
18
  mock_timer.cpp
19
 
  stub_buffer.cpp
20
19
  test_protobuf_client.cpp
21
20
  test_protobuf_socket_server.cpp
22
21
  triggered_main_loop.cpp
71
70
  )
72
71
endif()
73
72
 
 
73
# We don't want LTO objects in a published archive (libmir-test-assist.a)
 
74
string (REPLACE " -flto " " " CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
 
75
string (REPLACE " -flto " " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
 
76
 
74
77
add_library(mir-public-test-doubles OBJECT
75
78
  nested_mock_egl.cpp
76
79
  null_logger.cpp
77
80
  stub_display_configuration.cpp ${CMAKE_SOURCE_DIR}/include/test/mir/test/doubles/stub_display_configuration.h
78
81
  fake_display.cpp ${CMAKE_SOURCE_DIR}/include/test/mir/test/doubles/fake_display.h
 
82
  stub_buffer.cpp
79
83
)
80
84
 
81
85
add_library(mir-test-doubles-static STATIC