Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
4592e3f3
Commit
4592e3f3
authored
Feb 11, 2011
by
Adam Wardynski
Browse files
Options
Downloads
Patches
Plain Diff
wcclrules: explicitly import Loki library.
parent
19b27f93
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeScripts/FindLoki.cmake
+24
-0
24 additions, 0 deletions
CMakeScripts/FindLoki.cmake
wcclrules/CMakeLists.txt
+3
-0
3 additions, 0 deletions
wcclrules/CMakeLists.txt
with
27 additions
and
0 deletions
CMakeScripts/FindLoki.cmake
0 → 100644
+
24
−
0
View file @
4592e3f3
FIND_PATH
(
LOKI_INCLUDE_DIR loki/LokiExport.h /usr/include /usr/local/include
)
FIND_LIBRARY
(
LOKI_LIBRARY NAMES loki PATHS /usr/lib /usr/local/lib
)
MARK_AS_ADVANCED
(
LOKI_LIBRARY
)
MARK_AS_ADVANCED
(
LOKI_INCLUDE_DIR
)
IF
(
LOKI_INCLUDE_DIR AND LOKI_LIBRARY
)
SET
(
LOKI_FOUND TRUE
)
ENDIF
(
LOKI_INCLUDE_DIR AND LOKI_LIBRARY
)
IF
(
LOKI_FOUND
)
IF
(
NOT LOKI_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found LOKI:
${
LOKI_LIBRARY
}
"
)
ENDIF
(
NOT LOKI_FIND_QUIETLY
)
ELSE
(
LOKI_FOUND
)
IF
(
Loki_FIND_REQUIRED
)
MESSAGE
(
FATAL_ERROR
"Could not find Loki-lib"
)
ELSE
(
Loki_FIND_REQUIRED
)
MESSAGE
(
STATUS
"Loki not found"
)
ENDIF
(
Loki_FIND_REQUIRED
)
ENDIF
(
LOKI_FOUND
)
This diff is collapsed.
Click to expand it.
wcclrules/CMakeLists.txt
+
3
−
0
View file @
4592e3f3
...
@@ -5,6 +5,9 @@ include_directories(${LibXML++_INCLUDE_DIRS})
...
@@ -5,6 +5,9 @@ include_directories(${LibXML++_INCLUDE_DIRS})
link_directories
(
${
LibXML++_LIBRARY_DIRS
}
)
link_directories
(
${
LibXML++_LIBRARY_DIRS
}
)
set
(
LIBS
${
LIBS
}
${
LibXML++_LIBRARIES
}
)
set
(
LIBS
${
LIBS
}
${
LibXML++_LIBRARIES
}
)
find_package
(
Loki REQUIRED QUIET
)
set
(
LIBS
${
LIBS
}
loki
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
)
add_definitions
(
-DLIBWCCL_WCCLRUN_DATA_DIR=
"
${
PROJECT_SOURCE_DIR
}
/"
)
add_definitions
(
-DLIBWCCL_WCCLRUN_DATA_DIR=
"
${
PROJECT_SOURCE_DIR
}
/"
)
...
...
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