@ -3,7 +3,11 @@
int main() {
auto &config = Config::get();
#ifdef _WIN32
config.project.cmake.command = "cmake -G\"MSYS Makefiles\" -DCMAKE_INSTALL_PREFIX=/mingw64";
#else
config.project.cmake.command = "cmake";
#endif
auto suite_name = "CMake_tests";
suite test_suite(suite_name);
auto module = py::module::import("cmake_test");
@ -84,7 +84,7 @@ int main() {
});
doTest("cfg", [](Config &config) {
g_assert_cmpstr(config.home_juci_path.c_str(), ==, "/away");
g_assert_cmpstr(config.home_path.c_str(), ==, "/home");
g_assert_cmpstr(config.home_juci_path.string().c_str(), ==, "/away");
g_assert_cmpstr(config.home_path.string().c_str(), ==, "/home");
}