Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CLASS
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
BaM
CLASS
Commits
d0f1ff3a
Commit
d0f1ff3a
authored
7 years ago
by
Nico
Browse files
Options
Downloads
Patches
Plain Diff
update CMakeList...
parent
abf6e536
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
CMakeLists.txt
+9
-10
9 additions, 10 deletions
CMakeLists.txt
with
9 additions
and
10 deletions
CMakeLists.txt
+
9
−
10
View file @
d0f1ff3a
...
...
@@ -63,17 +63,16 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ${ROOT_INCLUDE_DIRS})
# Build Decay.idx File
set
(
decay_dir
"DATA_BASES/DECAY/ALL"
)
set
(
decay_databases_path=
"$(pwd)/
${
decay_dir
}
"
)
set
(
Decay_CMD
"sed -e
\"
s:PATHTOBASE:
${
decay_databases_path
}
:"
${
decay_dir
}
/Decay.in >
${
decay_dir
}
/Decay.idx
")
MESSAGE("
COMMAND:
${
Decay_CMD
}
")
execute_process(COMMAND
${
Decay_CMD
}
RESULT_VARIABLE CMD_ERROR OUTPUT_FILE CMD_OUTPUT)
MESSAGE( STATUS "
CMD_ERROR:
"
${
CMD_ERROR
}
)
MESSAGE( STATUS "
CMD_OUTPUT:
"
${
CMD_OUTPUT
}
)
function
set_decaydata
()
{
local decay_dir=
"DATA_BASES/DECAY/ALL"
local decay_databases_path=
"$(pwd)/
${
decay_dir
}
"
sed -e
"s%PATHTOBASE%
${
decay_databases_path
}
%"
${
decay_dir
}
/.Decay.tmp >
${
decay_dir
}
/Decay.idx && echo -e
"[DB] decay databases pathes [
${
c_green
}
ok
${
c_default
}
]"
||
(
echo -e
"[DB] decay databases pathes [
${
c_red
}
fail
${
c_default
}
]"
; exit 505
)
}
#Set CLASS variable
# Set CLASS variable
# SET(CYCLASS_INCLUDE_DIRS $ROOT_INCLUDE_DIRS )
SET(LIBS
${
LIBS
}
${
ROOT_LIBRARIES
}
)
...
...
@@ -84,7 +83,7 @@ SET(LIBS ${LIBS} ${ROOT_LIBRARIES})
# Variables definitions
# ----------------------------------------------------------
SET
(
CMAKE_INSTALL_LIBDIR
${
CMAKE_CURRENT_LIST_DIR
}
/lib
)
set
(CMAKE_INSTALL_LIBDIR
${
CMAKE_CURRENT_LIST_DIR
}
/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY
${
CMAKE_CURRENT_LIST_DIR
}
/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY
${
CMAKE_CURRENT_LIST_DIR
}
/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