aboutsummaryrefslogtreecommitdiff
path: root/src/bin_gie.cmake
blob: 596592fa0e944612ef47a84b313962cdfba75e94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set(GIE_SRC gie.c proj_strtod.c proj_strtod.h)
set(GIE_INCLUDE optargpm.h)

source_group("Source Files\\Bin" FILES ${GIE_SRC})

add_executable(gie ${GIE_SRC} ${GIE_INCLUDE})
target_link_libraries(gie ${PROJ_LIBRARIES})
install(TARGETS gie
	RUNTIME DESTINATION ${BINDIR})

if(MSVC AND BUILD_LIBPROJ_SHARED)
    target_compile_definitions(gie PRIVATE PROJ_MSVC_DLL_IMPORT=1)
endif()