Skip to content

Commit

Permalink
Add mfc.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Feb 8, 2024
1 parent ea27317 commit c95b797
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ if (BUILD_TESTS)
add_cfg(libcurl.c)
add_cfg(libsigc++.cpp)
add_cfg(lua.c)
add_cfg(mfc.cpp)
add_cfg(opencv2.cpp)
add_cfg(openmp.c)
add_cfg(openssl.c)
Expand Down
16 changes: 16 additions & 0 deletions test/cfg/mfc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

// Test library configuration for mfc.cfg

#include <afxwin.h>


class MyClass : public CObject {
DECLARE_DYNAMIC(MyClass)
DECLARE_DYNCREATE(MyClass)
DECLARE_SERIAL(MyClass)
public:
MyClass() {}
};
IMPLEMENT_DYNAMIC(MyClass, CObject)
IMPLEMENT_DYNCREATE(MyClass, CObject)
IMPLEMENT_SERIAL(MyClass,CObject, 42)

0 comments on commit c95b797

Please sign in to comment.