Files
Sourcetrail/cmake/pre_install_linux.cmake
T

33 lines
700 B
CMake

#pre install script
function(Print text)
execute_process(
COMMAND echo ${text}
)
endfunction()
function(Run)
execute_process(
COMMAND ${ARGV}
)
endfunction()
set(binPath ${CMAKE_CURRENT_LIST_DIR}/../build/Release/app/Sourcetrail)
set(projPath ${CMAKE_CURRENT_LIST_DIR}/../bin/app/user/projects)
execute_process(
COMMAND ${binPath} index --full ${projPath}/tictactoe_cpp/tictactoe_cpp.srctrlprj
)
execute_process(
COMMAND ${binPath} index --full ${projPath}/tictactoe_py/tictactoe_py.srctrlprj
)
execute_process(
COMMAND ${binPath} index --full ${projPath}/tutorial/tutorial.srctrlprj
)
execute_process(
COMMAND ${binPath} index --full ${projPath}/javaparser/javaparser.srctrlprj
)