[DEBUG] update windows build
This commit is contained in:
parent
fbcb395711
commit
9d3b85afe8
@ -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'
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user