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.
11 lines
188 B
CMake
11 lines
188 B
CMake
include_guard(GLOBAL)
|
|
|
|
macro(set_first_defined RESULT)
|
|
foreach(_arg ${ARGN})
|
|
if (DEFINED ${_arg})
|
|
set(${RESULT} ${${_arg}})
|
|
break()
|
|
endif()
|
|
endforeach()
|
|
endmacro()
|