From 9d3b85afe8d83c35fd7f519f6fecaf8edcde8b8a Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 17 Mar 2016 21:10:49 +0100 Subject: [PATCH] [DEBUG] update windows build --- lutin_enet-test.py | 2 -- test/main.cpp | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lutin_enet-test.py b/lutin_enet-test.py index 2680345..bae0219 100644 --- a/lutin_enet-test.py +++ b/lutin_enet-test.py @@ -31,8 +31,6 @@ def create(target, module_name): 'test/debug.cpp' ]) my_module.add_export_path(tools.get_current_path(__file__)) - if target.name == "Windows": - return my_module my_module.add_module_depend(['enet', 'gtest']) my_module.add_src_file([ 'test/main.cpp' diff --git a/test/main.cpp b/test/main.cpp index 7be252d..7a586e5 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -16,6 +16,7 @@ #define __class__ "test" int main(int argc, const char *argv[]) { +#ifndef __TARGET_OS__Windows elog::setLevel(elog::logLevelDebug); APPL_VERBOSE("plop"); if (argc > 2) { @@ -108,6 +109,8 @@ int main(int argc, const char *argv[]) { return -1; } } - +#else + APPL_CRITICAL("not implemented"); +#endif return 0; }