mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
674 B
12 lines
674 B
from Jucipp import CMake |
|
|
|
def run(project_path): |
|
cmake = CMake(project_path) |
|
assert project_path == cmake.project_path, "Construction of CMake failed" |
|
default_build_path = project_path + "/build" |
|
assert cmake.update_default_build(default_build_path) == True, "Update of default build failed" |
|
executable = cmake.get_executable(default_build_path, project_path) |
|
assert executable == default_build_path + "/cmake_project", "Invalid executable" |
|
default_debug_path = project_path + "/debug" |
|
assert cmake.update_debug_build(default_debug_path), "Update of debug build failed" |
|
executable = cmake.get_executable(default_debug_path, project_path)
|
|
|