mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 13:20:28 +00:00
Remove WIN32 attribute for tests (so we can see colored output in win cmd console).
This commit is contained in:
parent
d8d1c52e84
commit
9f000741a3
@ -279,7 +279,7 @@ file(GLOB_RECURSE tests *_unittest.cpp)
|
||||
foreach(testsourcefile ${tests})
|
||||
get_filename_component(testname ${testsourcefile} NAME_WE)
|
||||
|
||||
add_executable(${testname} WIN32 ${testsourcefile})
|
||||
add_executable(${testname} ${testsourcefile})
|
||||
|
||||
target_link_libraries(${testname} gtest ${all_libs})
|
||||
|
||||
|
@ -28,7 +28,10 @@
|
||||
#include "gui/jinete.h"
|
||||
#endif
|
||||
|
||||
// Allegro-friendly main() routine
|
||||
#ifdef main
|
||||
#undef main
|
||||
#endif
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int exitcode;
|
||||
@ -58,6 +61,4 @@ int main(int argc, char* argv[])
|
||||
return exitcode;
|
||||
}
|
||||
|
||||
END_OF_MAIN();
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user