mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[CMAKE]
* Don't create cleanup targets when using a VS generator svn path=/trunk/; revision=52194
This commit is contained in:
@@ -190,15 +190,17 @@ function(add_clean_target target)
|
||||
COMMENT "Cleaning ${target}")
|
||||
endfunction()
|
||||
|
||||
function(add_library name)
|
||||
_add_library(${name} ${ARGN})
|
||||
add_clean_target(${name})
|
||||
endfunction()
|
||||
if(NOT MSVC_IDE)
|
||||
function(add_library name)
|
||||
_add_library(${name} ${ARGN})
|
||||
add_clean_target(${name})
|
||||
endfunction()
|
||||
|
||||
function(add_executable name)
|
||||
_add_executable(${name} ${ARGN})
|
||||
add_clean_target(${name})
|
||||
endfunction()
|
||||
function(add_executable name)
|
||||
_add_executable(${name} ${ARGN})
|
||||
add_clean_target(${name})
|
||||
endfunction()
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
macro(to_win_path _cmake_path _native_path)
|
||||
|
||||
Reference in New Issue
Block a user