Support WXQT in CMake

This commit is contained in:
Maarten Bent
2018-09-25 19:41:17 +02:00
parent 4c06c43f26
commit 1dfe088b4d
9 changed files with 60 additions and 13 deletions

View File

@@ -264,13 +264,15 @@ if(WIN32)
wx_add_sample(dll sdk_exe.cpp my_dll.h NAME sdk_exe FOLDER dll LIBRARIES my_dll)
endif()
if(MSVC)
wx_add_sample(flash)
endif()
#TODO: reenable when sample is fixed
#wx_add_sample(mfc mfctest.cpp mfctest.h resource.h stdafx.h RES mfctest.rc)
wx_add_sample(nativdlg nativdlg.cpp nativdlg.h resource.h RES nativdlg.rc)
wx_add_sample(oleauto DEPENDS wxUSE_OLE)
wx_add_sample(regtest RES regtest.rc DEPENDS wxUSE_REGKEY)
wx_add_sample(taskbarbutton DEPENDS wxUSE_TASKBARBUTTON)
wx_add_sample(oleauto DEPENDS wxUSE_OLE)
if(WXMSW)
wx_add_sample(nativdlg nativdlg.cpp nativdlg.h resource.h RES nativdlg.rc)
#TODO: reenable when sample is fixed
#wx_add_sample(mfc mfctest.cpp mfctest.h resource.h stdafx.h RES mfctest.rc)
wx_add_sample(taskbarbutton DEPENDS wxUSE_TASKBARBUTTON)
wx_add_sample(flash DEPENDS wxUSE_ACTIVEX)
endif()
endif()