Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
48e97ed1
Commit
48e97ed1
authored
Sep 16, 2011
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Clay target in CMakeLists
This allows to build both test suites at the same time
parent
fe4aa206
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
+5
-5
No files found.
CMakeLists.txt
View file @
48e97ed1
...
@@ -141,14 +141,14 @@ IF (BUILD_CLAY)
...
@@ -141,14 +141,14 @@ IF (BUILD_CLAY)
INCLUDE_DIRECTORIES(tests-clay)
INCLUDE_DIRECTORIES(tests-clay)
FILE(GLOB_RECURSE SRC_TEST tests-clay/*.c)
FILE(GLOB_RECURSE SRC_TEST tests-clay/*.c)
ADD_EXECUTABLE(libgit2_
test
${
SRC
}
${
SRC_TEST
}
${
SRC_ZLIB
}
)
ADD_EXECUTABLE(libgit2_
clay
${
SRC
}
${
SRC_TEST
}
${
SRC_ZLIB
}
)
TARGET_LINK_LIBRARIES(libgit2_
test
${
CMAKE_THREAD_LIBS_INIT
}
)
TARGET_LINK_LIBRARIES(libgit2_
clay
${
CMAKE_THREAD_LIBS_INIT
}
)
IF (WIN32)
IF (WIN32)
TARGET_LINK_LIBRARIES(libgit2_
test
ws2_32)
TARGET_LINK_LIBRARIES(libgit2_
clay
ws2_32)
ELSEIF (CMAKE_SYSTEM_NAME MATCHES "
(
Solaris|SunOS
)
")
ELSEIF (CMAKE_SYSTEM_NAME MATCHES "
(
Solaris|SunOS
)
")
TARGET_LINK_LIBRARIES(libgit2_
test
socket nsl)
TARGET_LINK_LIBRARIES(libgit2_
clay
socket nsl)
ENDIF ()
ENDIF ()
ENABLE_TESTING()
ENABLE_TESTING()
ADD_TEST(libgit2_
test libgit2_test
)
ADD_TEST(libgit2_
clay libgit2_clay
)
ENDIF ()
ENDIF ()
Write
Preview
Markdown
is supported
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