[DEBUG] update windows build

This commit is contained in:
Edouard DUPIN 2016-03-17 21:10:49 +01:00
parent fbcb395711
commit 9d3b85afe8
2 changed files with 4 additions and 3 deletions

View File

@ -31,8 +31,6 @@ def create(target, module_name):
'test/debug.cpp' 'test/debug.cpp'
]) ])
my_module.add_export_path(tools.get_current_path(__file__)) 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_module_depend(['enet', 'gtest'])
my_module.add_src_file([ my_module.add_src_file([
'test/main.cpp' 'test/main.cpp'

View File

@ -16,6 +16,7 @@
#define __class__ "test" #define __class__ "test"
int main(int argc, const char *argv[]) { int main(int argc, const char *argv[]) {
#ifndef __TARGET_OS__Windows
elog::setLevel(elog::logLevelDebug); elog::setLevel(elog::logLevelDebug);
APPL_VERBOSE("plop"); APPL_VERBOSE("plop");
if (argc > 2) { if (argc > 2) {
@ -108,6 +109,8 @@ int main(int argc, const char *argv[]) {
return -1; return -1;
} }
} }
#else
APPL_CRITICAL("not implemented");
#endif
return 0; return 0;
} }