Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
6d5bef7d
Commit
6d5bef7d
authored
Mar 27, 2002
by
Sebastien Barre
Browse files
FIX: do not use CMAKE_CFG_INTDIR, just use LINK_DIRECTORIES
parent
07578f93
Changes
3
Hide whitespace changes
Inline
Side-by-side
Tests/Complex/Executable/CMakeLists.txt
View file @
6d5bef7d
...
...
@@ -8,16 +8,14 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
#
# Link to CMake lib
# Specify the same one for debug/optimized to increase coverage
#
FIND_LIBRARY
(
CMAKE_LIB
CMakeLib
${
Wrapping_BINARY_DIR
}
/../../Source/
${
CMAKE_CFG_INTDIR
}
)
LINK_DIRECTORIES
(
${
Complex_BINARY_DIR
}
/../../Source
)
# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES
(
complex
${
CMAKE_LIB
}
debug
${
CMAKE_LIB
}
optimized
${
CMAKE_LIB
}
)
CMakeLib
debug
CMakeLib
optimized
CMakeLib
)
#
# Output the files required by 'complex' to a file.
...
...
@@ -35,4 +33,3 @@ INSTALL_TARGETS(/tmp complex)
INSTALL_PROGRAMS
(
/tmp complex
)
SOURCE_GROUP
(
A_GROUP
".cxx"
)
Tests/ComplexOneConfig/Executable/CMakeLists.txt
View file @
6d5bef7d
...
...
@@ -8,16 +8,14 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
#
# Link to CMake lib
# Specify the same one for debug/optimized to increase coverage
#
FIND_LIBRARY
(
CMAKE_LIB
CMakeLib
${
Wrapping_BINARY_DIR
}
/../../Source/
${
CMAKE_CFG_INTDIR
}
)
LINK_DIRECTORIES
(
${
Complex_BINARY_DIR
}
/../../Source
)
# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES
(
complex
${
CMAKE_LIB
}
debug
${
CMAKE_LIB
}
optimized
${
CMAKE_LIB
}
)
CMakeLib
debug
CMakeLib
optimized
CMakeLib
)
#
# Output the files required by 'complex' to a file.
...
...
@@ -35,4 +33,3 @@ INSTALL_TARGETS(/tmp complex)
INSTALL_PROGRAMS
(
/tmp complex
)
SOURCE_GROUP
(
A_GROUP
".cxx"
)
Tests/ComplexRelativePaths/Executable/CMakeLists.txt
View file @
6d5bef7d
...
...
@@ -8,16 +8,14 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
#
# Link to CMake lib
# Specify the same one for debug/optimized to increase coverage
#
FIND_LIBRARY
(
CMAKE_LIB
CMakeLib
${
Wrapping_BINARY_DIR
}
/../../Source/
${
CMAKE_CFG_INTDIR
}
)
LINK_DIRECTORIES
(
${
Complex_BINARY_DIR
}
/../../Source
)
# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES
(
complex
${
CMAKE_LIB
}
debug
${
CMAKE_LIB
}
optimized
${
CMAKE_LIB
}
)
CMakeLib
debug
CMakeLib
optimized
CMakeLib
)
#
# Output the files required by 'complex' to a file.
...
...
@@ -35,4 +33,3 @@ INSTALL_TARGETS(/tmp complex)
INSTALL_PROGRAMS
(
/tmp complex
)
SOURCE_GROUP
(
A_GROUP
".cxx"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment