blob: e400caf37b60e8408cf67e1da7adec87f6e71dd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
set(CCT_SRC apps/cct.cpp apps/proj_strtod.cpp apps/proj_strtod.h)
set(CCT_INCLUDE apps/optargpm.h)
source_group("Source Files\\Bin" FILES ${CCT_SRC})
add_executable(cct ${CCT_SRC} ${CCT_INCLUDE})
target_link_libraries(cct ${PROJ_LIBRARIES})
install(TARGETS cct
RUNTIME DESTINATION ${BINDIR})
if(MSVC AND BUILD_LIBPROJ_SHARED)
target_compile_definitions(cct PRIVATE PROJ_MSVC_DLL_IMPORT=1)
endif()
|