1
0
Fork 0

Build fgfs-master and tgvpf under Windows

This commit is contained in:
Frederic Bouvier 2011-10-26 22:48:14 +02:00
parent 2572c4ffab
commit 1a1e984577
2 changed files with 9 additions and 2 deletions

View file

@ -28,7 +28,9 @@
#include <stdlib.h> // for system()
#include <sys/stat.h> // for stat()
#include <unistd.h> // for stat()
#ifndef _MSC_VER
# include <unistd.h> // for stat()
#endif
#include <string>
#include <iostream>

View file

@ -1,10 +1,15 @@
add_executable(tgvpf tgvpf.cxx)
if(MSVC)
set (WINMM_LIB winmm)
endif(MSVC)
target_link_libraries(tgvpf
Polygon Geometry Output poly2tri TriangleJRS vpf
${SIMGEAR_CORE_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
${GPC_LIBRARY})
${GPC_LIBRARY}
${WINMM_LIB})
install(TARGETS tgvpf RUNTIME DESTINATION bin)