mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
Test generated module .def files
Teach the ModuleDefinition test to cover the case that a .def file is generated by a custom command.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
extern int __declspec(dllimport) example_dll_function(void);
|
||||
extern int __declspec(dllimport) example_dll_gen_function(void);
|
||||
#ifdef EXAMPLE_DLL_2
|
||||
extern int __declspec(dllimport) example_dll_2_function(void);
|
||||
#endif
|
||||
@@ -7,6 +8,7 @@ int main(void)
|
||||
{
|
||||
return
|
||||
example_dll_function() +
|
||||
example_dll_gen_function() +
|
||||
#ifdef EXAMPLE_DLL_2
|
||||
example_dll_2_function() +
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user