incubator-etch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grand...@apache.org
Subject svn commit: r1027844 - /incubator/etch/trunk/examples/helloworld/CMakeLists.txt
Date Wed, 27 Oct 2010 07:30:18 GMT
Author: grandyho
Date: Wed Oct 27 07:30:18 2010
New Revision: 1027844

URL: http://svn.apache.org/viewvc?rev=1027844&view=rev
Log:
ETCH-83
Helloworld Example build script now uses -m32 on Linux

Modified:
    incubator/etch/trunk/examples/helloworld/CMakeLists.txt

Modified: incubator/etch/trunk/examples/helloworld/CMakeLists.txt
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/CMakeLists.txt?rev=1027844&r1=1027843&r2=1027844&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/CMakeLists.txt (original)
+++ incubator/etch/trunk/examples/helloworld/CMakeLists.txt Wed Oct 27 07:30:18 2010
@@ -105,9 +105,15 @@ add_executable(etch-c-helloworld-client
 target_link_libraries(etch-c-helloworld-server "${APR_LIBRARY}")
 target_link_libraries(etch-c-helloworld-server "${APR-ICONV_LIBRARY}")
 target_link_libraries(etch-c-helloworld-server "${ETCH_LIBRARY}")
+IF (UNIX)
+set_target_properties(etch-c-helloworld-server PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS
"-m32")
+ENDIF (UNIX)
 set_target_properties(etch-c-helloworld-server PROPERTIES OUTPUT_NAME "helloworld-server")
 
 target_link_libraries(etch-c-helloworld-client "${APR_LIBRARY}")
 target_link_libraries(etch-c-helloworld-client "${APR-ICONV_LIBRARY}")
 target_link_libraries(etch-c-helloworld-client "${ETCH_LIBRARY}")
+IF (UNIX)
+set_target_properties(etch-c-helloworld-client PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS
"-m32")
+ENDIF (UNIX)
 set_target_properties(etch-c-helloworld-client PROPERTIES OUTPUT_NAME "helloworld-client")



Mime
View raw message