File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ set (SOURCE CCModuleJPEG.cpp)
2+
3+ add_library (cocosjpeg STATIC ${SOURCE} )
4+
5+ target_link_libraries (cocosjpeg jpeg cocos2d )
6+
7+ set_target_properties (cocosjpeg
8+ PROPERTIES
9+ ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /lib"
10+ LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /lib"
11+ )
12+
Original file line number Diff line number Diff line change 1+ set (SOURCE CCModuleTIFF.cpp)
2+
3+ add_library (cocostiff STATIC ${SOURCE} )
4+
5+ target_link_libraries (cocostiff tiff cocos2d )
6+
7+ set_target_properties (cocostiff
8+ PROPERTIES
9+ ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /lib"
10+ LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /lib"
11+ )
12+
Original file line number Diff line number Diff line change 1+ set (SOURCE CCModuleWEBP.cpp)
2+
3+ add_library (cocoswebp STATIC ${SOURCE} )
4+
5+ target_link_libraries (cocoswebp webp cocos2d )
6+
7+ set_target_properties (cocoswebp
8+ PROPERTIES
9+ ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /lib"
10+ LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /lib"
11+ )
12+
You can’t perform that action at this time.
0 commit comments