mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-21 23:56:54 +02:00
CMake, WinCE: Make samples and tests compile under Windows CE
This commit is contained in:
@@ -4,4 +4,7 @@ set(LOCAL_SRCS "")
|
||||
aux_source_directory(src LOCAL_SRCS)
|
||||
|
||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||
if(WINCE)
|
||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES LINK_FLAGS "/ENTRY:wmainCRTStartup")
|
||||
endif()
|
||||
target_link_libraries( ${SAMPLE_NAME} PocoNet PocoUtil PocoJSON PocoXML PocoFoundation )
|
||||
|
Reference in New Issue
Block a user