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.
10 lines
198 B
CMake
10 lines
198 B
CMake
include_guard(GLOBAL)
|
|
|
|
macro(set_ternary RESULT CONDITION TRUE_VALUE FALSE_VALUE)
|
|
if(${CONDITION})
|
|
set(${RESULT} ${TRUE_VALUE})
|
|
else()
|
|
set(${RESULT} ${FALSE_VALUE})
|
|
endif()
|
|
endmacro()
|