CMake, WinCE: Make samples and tests compile under Windows CE

This commit is contained in:
Pascal Bach
2014-12-11 13:25:40 +01:00
committed by Pascal Bach
parent 10ef2b2335
commit 97ea3ef483
7 changed files with 24 additions and 2 deletions

View File

@@ -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 )