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
blaar
blibs
blc_process
Commits
3b53ad12
Commit
3b53ad12
authored
Jul 18, 2016
by
Arnaud Blanchard
Browse files
Using BLAAR_DIR variable in cmake.
parent
c2a7f751
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3b53ad12
...
...
@@ -26,7 +26,7 @@ add_subdirectory(${BLAAR_DIR}/blc/blc_core blc_core)
endif
()
include_directories
(
include
${
BLC_CORE_INCLUDE_DIR
}
${
BLC_CHANNEL_INCLUDE_DIR
}
${
BLC_PROGRAM_INCLUDE_DIR
}
)
include_directories
(
include
${
BLC_CORE_INCLUDE_DIR
S
}
${
BLC_CHANNEL_INCLUDE_DIR
S
}
${
BLC_PROGRAM_INCLUDE_DIR
S
}
)
#source files
set
(
sources src/blc_processes.cpp
)
...
...
@@ -36,7 +36,9 @@ add_library(shared_blc_processes SHARED ${sources})
add_library
(
static_blc_processes STATIC
${
sources
}
)
target_link_libraries
(
shared_blc_processes shared_blc_program shared_blc_channel shared_blc_core
)
set
(
BLC_PROCESSES_INCLUDE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/include PARENT_SCOPE
)
set
(
BLC_PROCESSES_INCLUDE_DIRS
${
CMAKE_CURRENT_SOURCE_DIR
}
/include PARENT_SCOPE
)
set
(
BLC_PROCESSES_LIBRARY shared_blc_processes PARENT_SCOPE
)
#Both librairies have the same name only the extension will change depending on the OS
set_target_properties
(
shared_blc_processes PROPERTIES OUTPUT_NAME blc_processes
)
...
...
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