Build stardb tools as console applications on windows
parent
b1e36e1f1b
commit
e478aa0918
|
@ -1,4 +1,2 @@
|
|||
if (NOT WIN32)
|
||||
add_subdirectory(stardb)
|
||||
endif()
|
||||
add_subdirectory(xyzv2bin)
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue