mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-02 13:20:12 +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})
|
foreach(testsourcefile ${tests})
|
||||||
get_filename_component(testname ${testsourcefile} NAME_WE)
|
get_filename_component(testname ${testsourcefile} NAME_WE)
|
||||||
|
|
||||||
add_executable(${testname} WIN32 ${testsourcefile})
|
add_executable(${testname} ${testsourcefile})
|
||||||
|
|
||||||
target_link_libraries(${testname} gtest ${all_libs})
|
target_link_libraries(${testname} gtest ${all_libs})
|
||||||
|
|
||||||
|
@ -28,7 +28,10 @@
|
|||||||
#include "gui/jinete.h"
|
#include "gui/jinete.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Allegro-friendly main() routine
|
#ifdef main
|
||||||
|
#undef main
|
||||||
|
#endif
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
int exitcode;
|
int exitcode;
|
||||||
@ -58,6 +61,4 @@ int main(int argc, char* argv[])
|
|||||||
return exitcode;
|
return exitcode;
|
||||||
}
|
}
|
||||||
|
|
||||||
END_OF_MAIN();
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user