mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 07:19:08 +08:00
45 lines
1.8 KiB
Diff
45 lines
1.8 KiB
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 775037a..fbd81b2 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -482,23 +489,23 @@ endif()
|
||
|
# Build examples
|
||
|
# ############################################################################
|
||
|
|
||
|
-set(SIMAGE_EXAMPLE_SOURCE
|
||
|
- ${CMAKE_CURRENT_SOURCE_DIR}/examples/audio2raw.c
|
||
|
- ${CMAKE_CURRENT_SOURCE_DIR}/examples/img2avi.c
|
||
|
+#set(SIMAGE_EXAMPLE_SOURCE
|
||
|
+# ${CMAKE_CURRENT_SOURCE_DIR}/examples/audio2raw.c
|
||
|
+# ${CMAKE_CURRENT_SOURCE_DIR}/examples/img2avi.c
|
||
|
# ${CMAKE_CURRENT_SOURCE_DIR}/examples/mpeg2enc.cpp # requires Coin to build
|
||
|
- ${CMAKE_CURRENT_SOURCE_DIR}/examples/simage-convert.c
|
||
|
- ${CMAKE_CURRENT_SOURCE_DIR}/examples/simage-read-line-test.c
|
||
|
-)
|
||
|
-
|
||
|
-foreach(_source ${SIMAGE_EXAMPLE_SOURCE})
|
||
|
- get_filename_component(_example ${_source} NAME_WE)
|
||
|
- add_executable(${_example} ${_source})
|
||
|
- target_compile_definitions(${_example} PRIVATE _CRT_NONSTDC_NO_DEPRECATE _CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS _USE_MATH_DEFINES)
|
||
|
- target_link_libraries(${_example} simage)
|
||
|
- if(UNIX)
|
||
|
- target_link_libraries(${_example} m)
|
||
|
- endif()
|
||
|
-endforeach()
|
||
|
+# ${CMAKE_CURRENT_SOURCE_DIR}/examples/simage-convert.c
|
||
|
+# ${CMAKE_CURRENT_SOURCE_DIR}/examples/simage-read-line-test.c
|
||
|
+#)
|
||
|
+
|
||
|
+#foreach(_source ${SIMAGE_EXAMPLE_SOURCE})
|
||
|
+# get_filename_component(_example ${_source} NAME_WE)
|
||
|
+# add_executable(${_example} ${_source})
|
||
|
+# target_compile_definitions(${_example} PRIVATE _CRT_NONSTDC_NO_DEPRECATE _CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS _USE_MATH_DEFINES)
|
||
|
+# target_link_libraries(${_example} simage)
|
||
|
+# if(UNIX)
|
||
|
+# target_link_libraries(${_example} m)
|
||
|
+# endif()
|
||
|
+#endforeach()
|
||
|
|
||
|
# ############################################################################
|
||
|
# Build tests
|