mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-24 16:49:18 -06:00
Tests: Enable ConfigSources test on every configuration
Revise the test itself to work in all configurations and verify that certain sources are only built by whatever configuration is tested.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
#ifndef CFG_DEBUG
|
||||
# error "This source should only be compiled in a Debug configuration."
|
||||
#endif
|
||||
#ifdef CFG_OTHER
|
||||
# error "This source should not be compiled in a non-Debug configuration."
|
||||
#endif
|
||||
|
||||
#include "iface_debug.h"
|
||||
#include "iface.h"
|
||||
|
||||
int iface_debug()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user