cmake/tribits/examples/TargetDefinesPkg/test/TargetDefinesPkg_test.cpp
raw| 1 | #ifndef TARGETDEFINESPKG_RETURN |
| 2 | # define TARGETDEFINESPKG_RETURN "DEFAULT" |
| 3 | #endif |
| 4 | |
| 5 | #include <iostream> |
| 6 | #include <string> |
| 7 | |
| 8 | #include "TargetDefinesPkg.hpp" |
| 9 | |
| 10 | int main() { |
| 11 | std::cout << "TargetDefinesPkg_test returns " |
| 12 | << TargetDefinesPkg::passThrough(TARGETDEFINESPKG_RETURN) << "\n"; |
| 13 | return 0; |
| 14 | } |