Build stardb tools as console applications on windows

pull/209/head
Hleb Valoshka 2019-01-19 00:42:16 +03:00
parent b1e36e1f1b
commit e478aa0918
2 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,2 @@
if (NOT WIN32)
add_subdirectory(stardb)
endif()
add_subdirectory(xyzv2bin)

View File

@ -1,6 +1,6 @@
# not building celdat2txt as in references external function
foreach(tool makestardb makexindex startextdump)
add_executable(${tool} WIN32 "${tool}.cpp")
add_executable(${tool} "${tool}.cpp")
target_link_libraries(${tool} ${CELESTIA_LIBS})
install(TARGETS ${tool} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endforeach()