
Previously the command considered non-absolute source file paths relative to the associated target on the LHS. This causes problems in incremental builds where files are added from subdirectories and forces users to workaround by manually converting to absolute paths. Change this to enable more intuitive usage by projects. Fixes #17981
22 lines
198 B
C++
22 lines
198 B
C++
#ifdef IS_LIB
|
|
|
|
# ifdef _WIN32
|
|
__declspec(dllexport)
|
|
# endif
|
|
int internal_empty_1()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#else
|
|
|
|
# ifdef _WIN32
|
|
__declspec(dllexport)
|
|
# endif
|
|
int empty_1()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif
|