Add support for CMake

This commit is contained in:
Fadis 2013-11-28 02:10:47 +09:00
parent 403e83eaf0
commit e3cb3bae99
35 changed files with 583 additions and 1 deletions

View file

@ -0,0 +1 @@
subdirs( test example )

View file

@ -0,0 +1,6 @@
add_executable( libs_string_example_c_str_to_sprout_string c_str_to_sprout_string.cpp )
set_target_properties( libs_string_example_c_str_to_sprout_string PROPERTIES OUTPUT_NAME "c_str_to_sprout_string" )
add_executable( libs_string_example_literals_to_string literals_to_string.cpp )
set_target_properties( libs_string_example_literals_to_string PROPERTIES OUTPUT_NAME "literals_to_string" )
add_executable( libs_string_example_simple simple.cpp )
set_target_properties( libs_string_example_simple PROPERTIES OUTPUT_NAME "simple" )

View file

@ -0,0 +1,3 @@
add_executable( libs_string_test_string string.cpp )
set_target_properties( libs_string_test_string PROPERTIES OUTPUT_NAME "string" )
add_test( libs_string_test_string string )