diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-20 17:17:59 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-20 17:17:59 (GMT) |
commit | 50423a779e771f284fa19d28c205ade881f7c3aa (patch) | |
tree | 6d95805d4b051e60bfaad8fe923aef34bd5f24cd /Tests/LoadCommandOneConfig/LoadedCommand.cxx | |
parent | 76e9af1575cf264e5af6e825c0af4da80be0b3e2 (diff) | |
download | CMake-50423a779e771f284fa19d28c205ade881f7c3aa.zip CMake-50423a779e771f284fa19d28c205ade881f7c3aa.tar.gz CMake-50423a779e771f284fa19d28c205ade881f7c3aa.tar.bz2 |
Fix test so that it does some modules testing by checking for some functions and some size of types
Diffstat (limited to 'Tests/LoadCommandOneConfig/LoadedCommand.cxx')
-rw-r--r-- | Tests/LoadCommandOneConfig/LoadedCommand.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/LoadCommandOneConfig/LoadedCommand.cxx b/Tests/LoadCommandOneConfig/LoadedCommand.cxx index c2a3439..65483c8 100644 --- a/Tests/LoadCommandOneConfig/LoadedCommand.cxx +++ b/Tests/LoadCommandOneConfig/LoadedCommand.cxx @@ -1,8 +1,10 @@ +#include "LoadedCommand.h" + int main () { #ifdef CMAKE_IS_FUN - return 0; + return SIZEOF_CHAR-1; #else - return 1; + return SIZEOF_SHORT; #endif } |