CMake/Tests/Testing/pcShared.h
Brad King 875c478b64 Test add_test() generator expressions
This teaches the 'testing' test to try generator expressions in
arguments to add_test(NAME).  This test case mimics a common use-case of
passing executables to test driver scripts.  We excercise the syntax for
per-configuration target file names.
2009-08-11 09:56:02 -04:00

17 lines
256 B
C

#ifndef pcShared_h
#define pcShared_h
#ifdef _WIN32
# ifdef pcShared_EXPORTS
# define PC_EXPORT __declspec(dllexport)
# else
# define PC_EXPORT __declspec(dllimport)
# endif
#else
# define PC_EXPORT
#endif
PC_EXPORT const char* pcShared(void);
#endif