2020-06-10 22:04:17 +08:00
|
|
|
|
include(compiler)
|
2019-08-22 11:26:59 +08:00
|
|
|
|
include(system_bit)
|
|
|
|
|
include(version)
|
|
|
|
|
include(output_path)
|
2019-11-29 11:57:19 +08:00
|
|
|
|
include(cm_modules)
|
2019-08-22 11:26:59 +08:00
|
|
|
|
|
2019-08-20 15:53:47 +08:00
|
|
|
|
macro(use_cm_module module)
|
|
|
|
|
add_subdirectory(CM${module})
|
|
|
|
|
include(CM${module}/path_config.cmake)
|
|
|
|
|
include_directories(CM${module}/inc)
|
2019-08-22 11:26:59 +08:00
|
|
|
|
endmacro()
|
2020-06-10 22:04:17 +08:00
|
|
|
|
|
|
|
|
|
macro(set_debugger_directory project path)
|
|
|
|
|
set_target_properties(${project} PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY ${path})
|
|
|
|
|
endmacro()
|