CMake: copy data files of test projects
Add headers to source files so they are included in IDE projects.
This commit is contained in:
@@ -20,8 +20,25 @@ set(TEST_DRAWING_SRC
|
||||
drawing/plugindriver.cpp
|
||||
drawing/basictest.cpp
|
||||
drawing/fonttest.cpp
|
||||
|
||||
testprec.h
|
||||
testableframe.h
|
||||
testimage.h
|
||||
drawing/gcfactory.h
|
||||
drawing/plugin.h
|
||||
drawing/pluginsample.cpp
|
||||
drawing/testimagefile.h
|
||||
)
|
||||
|
||||
set(TEST_DRAWING_DATA
|
||||
drawing/references/image_test_image_cairo-1.8_2_ref.png
|
||||
drawing/references/image_test_image_cg-10.5_2_ref.png
|
||||
drawing/references/image_test_image_gdiplus-6.1_2_ref.png
|
||||
)
|
||||
|
||||
wx_add_test(test_drawing ${TEST_DRAWING_SRC}
|
||||
DATA ${TEST_DRAWING_DATA}
|
||||
)
|
||||
wx_add_test(test_drawing ${TEST_DRAWING_SRC})
|
||||
if(wxUSE_SOCKETS)
|
||||
wx_exe_link_libraries(test_drawing net)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user