Commit d2729f0a authored by Michal Policht's avatar Michal Policht

Refactor macro name used for test exports.

parent 18d7e6ba
......@@ -10,7 +10,7 @@
#define CUTEHMI_API Q_DECL_IMPORT
#endif
#ifdef CUTEHMI_TEST
#ifdef CUTEHMI_TESTS
//export symbols to dll
#define CUTEHMI_PRIVATE Q_DECL_EXPORT
#else
......
......@@ -19,7 +19,7 @@ CommonProduct {
if (!project.staticExtensions)
defines.push(macroName + "_DYNAMIC")
if (project.buildTests)
defines.push(macroName + "_TEST")
defines.push(macroName + "_TESTS")
return base.concat(defines)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment