Commit e0f36dbf authored by Sebastien Barre's avatar Sebastien Barre
Browse files

ENH: Use ${CMAKE_CFG_INTDIR} instead of hardcoded RelInfo, Debug, Release, etc.

parent d198c5e0
......@@ -10,12 +10,8 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
# Link to CMake lib
#
FIND_LIBRARY(CMAKE_LIB
CMakeLib
${Complex_BINARY_DIR}/../../Source
${Complex_BINARY_DIR}/../../Source/Debug
${Complex_BINARY_DIR}/../../Source/Release
${Complex_BINARY_DIR}/../../Source/MinSizeRel
${Complex_BINARY_DIR}/../../Source/RelWithDebInfo)
CMakeLib
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES(complex
......
......@@ -10,12 +10,8 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
# Link to CMake lib
#
FIND_LIBRARY(CMAKE_LIB
CMakeLib
${Complex_BINARY_DIR}/../../Source
${Complex_BINARY_DIR}/../../Source/Debug
${Complex_BINARY_DIR}/../../Source/Release
${Complex_BINARY_DIR}/../../Source/MinSizeRel
${Complex_BINARY_DIR}/../../Source/RelWithDebInfo)
CMakeLib
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES(complex
......
......@@ -10,12 +10,8 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
# Link to CMake lib
#
FIND_LIBRARY(CMAKE_LIB
CMakeLib
${Complex_BINARY_DIR}/../../Source
${Complex_BINARY_DIR}/../../Source/Debug
${Complex_BINARY_DIR}/../../Source/Release
${Complex_BINARY_DIR}/../../Source/MinSizeRel
${Complex_BINARY_DIR}/../../Source/RelWithDebInfo)
CMakeLib
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES(complex
......
......@@ -28,11 +28,7 @@ ENDIF (EXECUTABLE_OUTPUT_PATH)
#
FIND_LIBRARY(CMAKE_LIB
CMakeLib
${Testing_BINARY_DIR}/../../Source
${Testing_BINARY_DIR}/../../Source/Debug
${Testing_BINARY_DIR}/../../Source/Release
${Testing_BINARY_DIR}/../../Source/MinSizeRel
${Testing_BINARY_DIR}/../../Source/RelWithDebInfo)
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
# Specify the same one for debug/optimized to increase coverage
LINK_LIBRARIES(${CMAKE_LIB}
......
......@@ -28,11 +28,7 @@ ENDIF (EXECUTABLE_OUTPUT_PATH)
#
FIND_LIBRARY (CMAKE_LIB
CMakeLib
${Wrapping_BINARY_DIR}/../../Source
${Wrapping_BINARY_DIR}/../../Source/Debug
${Wrapping_BINARY_DIR}/../../Source/Release
${Wrapping_BINARY_DIR}/../../Source/MinSizeRel
${Wrapping_BINARY_DIR}/../../Source/RelWithDebInfo)
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
LINK_LIBRARIES (${CMAKE_LIB})
......@@ -127,7 +123,7 @@ CONFIGURE_FILE(
#
# Mangled Mesa
#
USE_MANGLED_MESA (${Wrapping_SOURCE_DIR} ${Wrapping_BINARY_DIR}/mangled_mesa)
USE_MANGLED_MESA (${Wrapping_BINARY_DIR} ${Wrapping_BINARY_DIR}/mangled_mesa)
#
# Instantiator
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment