mirror of
https://github.com/reactos/CMake.git
synced 2024-12-01 07:20:22 +00:00
Tests: Create pseudo_emulator output dir for Xcode 2.x
Apply the workardound from commit v2.8.2~598 (Create CMakeLibTests output dir for Xcode, 2009-12-09) to the pseudo_emulator tool.
This commit is contained in:
parent
1975d53ae1
commit
c9e9c31c53
@ -230,3 +230,11 @@ endif()
|
||||
add_executable(pseudo_emulator pseudo_emulator.c)
|
||||
add_RunCMake_test(CrosscompilingEmulator
|
||||
-DPSEUDO_EMULATOR=$<TARGET_FILE:pseudo_emulator>)
|
||||
# Xcode 2.x forgets to create the output directory before linking
|
||||
# the individual architectures.
|
||||
if(CMAKE_OSX_ARCHITECTURES AND XCODE AND NOT "${XCODE_VERSION}" MATCHES "^[^12]")
|
||||
add_custom_command(
|
||||
TARGET pseudo_emulator
|
||||
PRE_BUILD COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_CFG_INTDIR}"
|
||||
)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user