diff options
author | Brad King <brad.king@kitware.com> | 2016-03-09 14:42:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-09 14:42:18 (GMT) |
commit | b42866a34a742f89a35382d17d58070c73486d92 (patch) | |
tree | 5728aef86df7ff0d6a677875b442d12147da2e46 /Tests/CustomCommand | |
parent | cd9ba3ec453d547b15ab761e20793a1a17bbbd8d (diff) | |
download | CMake-b42866a34a742f89a35382d17d58070c73486d92.zip CMake-b42866a34a742f89a35382d17d58070c73486d92.tar.gz CMake-b42866a34a742f89a35382d17d58070c73486d92.tar.bz2 |
Drop Visual Studio 6 generator
This generator has been deprecated since CMake 3.3. Remove it.
Update documentation, modules, and tests to drop content specific
to this generator.
Diffstat (limited to 'Tests/CustomCommand')
-rw-r--r-- | Tests/CustomCommand/wrapper.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Tests/CustomCommand/wrapper.cxx b/Tests/CustomCommand/wrapper.cxx index 93cb079..97912de 100644 --- a/Tests/CustomCommand/wrapper.cxx +++ b/Tests/CustomCommand/wrapper.cxx @@ -16,18 +16,12 @@ int main(int argc, char *argv[]) fprintf(fp,"int wrapped_help() { return 5; }\n"); fclose(fp); #ifdef CMAKE_INTDIR - /* The VS6 IDE passes a leading ".\\" in its variable expansion. */ -# if defined(_MSC_VER) && _MSC_VER == 1200 -# define CFG_DIR ".\\" CMAKE_INTDIR -# else -# define CFG_DIR CMAKE_INTDIR -# endif const char* cfg = (argc >= 4)? argv[3] : ""; - if(strcmp(cfg, CFG_DIR) != 0) + if(strcmp(cfg, CMAKE_INTDIR) != 0) { fprintf(stderr, "Did not receive expected configuration argument:\n" - " expected [" CFG_DIR "]\n" + " expected [" CMAKE_INTDIR "]\n" " received [%s]\n", cfg); return 1; } |