This new structure provides several benefits:
* Allows us to install multiple CMake projects in the same destination
dir (without include path conflicts).
- This makes shipping the trading algo sdk a trivial excercise. Simply
copy the lib and include dirs from the install dest. That's it!
* Puts us in a position to break up the monolithic libspark into smaller
modules, which are easier to manage.
8 lines
144 B
CMake
8 lines
144 B
CMake
include_guard(GLOBAL)
|
|
|
|
macro(export_to_parent)
|
|
foreach(var IN ITEMS ${ARGN})
|
|
set(${var} ${${var}} PARENT_SCOPE)
|
|
endforeach()
|
|
endmacro()
|