2020-07-11 10:16:20 +00:00
|
|
|
add_executable(CBot_console console.cpp)
|
|
|
|
target_link_directories(CBot_console PRIVATE
|
2015-12-27 15:51:57 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
)
|
2020-07-14 11:51:07 +00:00
|
|
|
target_link_libraries(CBot_console PRIVATE
|
|
|
|
CBot
|
2023-08-22 19:19:03 +00:00
|
|
|
Colobot-Base # Needed for error strings (TODO: why are they on Colobot side? :/)
|
2020-07-14 11:51:07 +00:00
|
|
|
)
|
2015-12-27 15:51:57 +00:00
|
|
|
|
|
|
|
add_executable(CBot_compile_graph compile_graph.cpp)
|
2020-07-11 10:16:20 +00:00
|
|
|
target_link_directories(CBot_compile_graph PRIVATE
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
)
|
|
|
|
target_link_libraries(CBot_compile_graph CBot)
|
2020-07-14 09:05:27 +00:00
|
|
|
|
|
|
|
if(COLOBOT_LINT_BUILD)
|
|
|
|
add_fake_header_sources("test/cbot" CBot_console)
|
|
|
|
add_fake_header_sources("test/cbot" CBot_compile_graph)
|
|
|
|
endif()
|