diff options
author | Brad King <brad.king@kitware.com> | 2017-04-19 19:00:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-19 19:28:05 (GMT) |
commit | c94f1bcf92bf5de100a1513cf1dd7f4eaf0122d4 (patch) | |
tree | 7087008dbb8b39de46c2fe4476e352d4794ea15d /Tests/ObjectLibrary | |
parent | a4452fd82df79c579ab3996e3c56c59964bf69ea (diff) | |
download | CMake-c94f1bcf92bf5de100a1513cf1dd7f4eaf0122d4.zip CMake-c94f1bcf92bf5de100a1513cf1dd7f4eaf0122d4.tar.gz CMake-c94f1bcf92bf5de100a1513cf1dd7f4eaf0122d4.tar.bz2 |
Drop Visual Studio 7 .NET 2003 generator
This generator has been deprecated since CMake 3.6. Remove it.
Diffstat (limited to 'Tests/ObjectLibrary')
-rw-r--r-- | Tests/ObjectLibrary/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Tests/ObjectLibrary/CMakeLists.txt b/Tests/ObjectLibrary/CMakeLists.txt index e3476df..4bffd12 100644 --- a/Tests/ObjectLibrary/CMakeLists.txt +++ b/Tests/ObjectLibrary/CMakeLists.txt @@ -16,11 +16,7 @@ add_custom_command(TARGET UseCshared POST_BUILD COMMAND ${CMAKE_COMMAND} -P ${CM add_executable(UseCinternal main.c c.c $<TARGET_OBJECTS:A> $<TARGET_OBJECTS:B>) -if("${CMAKE_GENERATOR}" MATCHES "^Visual Studio (7|7 .NET 2003)$") - # VS 7 generators do not add objects as sources so we need a - # dummy object to convince the IDE to build the targets below. - set(dummy dummy.obj) # In MinGW: gcc -c dummy.c -o dummy.obj -elseif("${CMAKE_GENERATOR}" MATCHES "Xcode") +if("${CMAKE_GENERATOR}" MATCHES "Xcode") # Xcode does not seem to support targets without sources. set(dummy dummy.c) endif() |