Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sot-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Olivier Stasse
sot-core
Commits
5387c76b
Commit
5387c76b
authored
14 years ago
by
Francois Bleibel
Browse files
Options
Downloads
Patches
Plain Diff
Added pthread definition on UNIX.
parent
0ff1e425
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
unitTesting/CMakeLists.txt
+8
-0
8 additions, 0 deletions
unitTesting/CMakeLists.txt
with
8 additions
and
0 deletions
unitTesting/CMakeLists.txt
+
8
−
0
View file @
5387c76b
...
@@ -5,6 +5,10 @@
...
@@ -5,6 +5,10 @@
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/test-paths.h.cmake
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/test-paths.h.cmake
${
CMAKE_CURRENT_SOURCE_DIR
}
/test-paths.h
)
${
CMAKE_CURRENT_SOURCE_DIR
}
/test-paths.h
)
IF
(
UNIX
)
ADD_DEFINITIONS
(
-pthread
)
ENDIF
(
UNIX
)
#The sot-core plugin libraries that tests have to be linked against
#The sot-core plugin libraries that tests have to be linked against
#the name of the variable for test EXECUTABLE_NAME is TEST_${EXECUTABLE_NAME}_LIBS
#the name of the variable for test EXECUTABLE_NAME is TEST_${EXECUTABLE_NAME}_LIBS
SET
(
TEST_tsot_LIBS
SET
(
TEST_tsot_LIBS
...
@@ -22,6 +26,10 @@ SET(TEST_traces_LIBS
...
@@ -22,6 +26,10 @@ SET(TEST_traces_LIBS
${
CMAKE_INSTALL_PREFIX
}
/lib/plugin/tracer.so
${
CMAKE_INSTALL_PREFIX
}
/lib/plugin/tracer.so
)
)
ENDIF
(
UNIX
)
ENDIF
(
UNIX
)
IF
(
UNIX
)
ADD_DEFINITIONS
(
-pthread
)
ENDIF
(
UNIX
)
IF
(
WIN32
)
IF
(
WIN32
)
SET
(
TEST_traces_LIBS
SET
(
TEST_traces_LIBS
${
CMAKE_INSTALL_PREFIX
}
/lib/plugin/tracer.lib
${
CMAKE_INSTALL_PREFIX
}
/lib/plugin/tracer.lib
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment