mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-14 02:59:53 -06:00
This reverts commit 2bee6f5ba5.
This expression is not used, and has a semantic which is not completely
optimal (namely considering utility targets to be targets, though
usually we are interested in linkable targets).
Remove it so that we have more freedom to define better expressions in
the future.
Conflicts:
Source/cmGeneratorExpressionEvaluator.cxx
Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt
Tests/CMakeCommands/target_compile_definitions/consumer.cpp
19 lines
293 B
C++
19 lines
293 B
C++
|
|
#ifdef MY_PRIVATE_DEFINE
|
|
#error Unexpected MY_PRIVATE_DEFINE
|
|
#endif
|
|
|
|
#ifndef MY_PUBLIC_DEFINE
|
|
#error Expected MY_PUBLIC_DEFINE
|
|
#endif
|
|
|
|
#ifndef MY_INTERFACE_DEFINE
|
|
#error Expected MY_INTERFACE_DEFINE
|
|
#endif
|
|
|
|
#ifndef DASH_D_DEFINE
|
|
#error Expected DASH_D_DEFINE
|
|
#endif
|
|
|
|
int main() { return 0; }
|