change 'CMakeLists.txt' encoding to utf8
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
#https://cmake.org/cmake-tutorial/
|
||||
#https://cmake.org/cmake/help/v3.3/module/CMakeDependentOption.html?highlight=cmakedependentoption
|
||||
# use CACHE<EFBFBD>FORCE or set(USE_meganz_mingw_std_threads ON) or delete CMakecache.txt or the entirely build dir
|
||||
# use CACHE FORCE or set(USE_meganz_mingw_std_threads ON) or delete CMakecache.txt or the entirely build dir
|
||||
# if your changes don't execute
|
||||
option(USE_meganz_mingw_std_threads "replaced boost.thread with meganz's mingw-std-threads." OFF)
|
||||
option(USE_UNICODE "Use Unicode Character Set" ON)
|
||||
@@ -143,8 +143,8 @@ aux_source_directory(${NANA_SOURCE_DIR}/paint/detail NANA_PAINT_DETAIL_SOURCE)
|
||||
aux_source_directory(${NANA_SOURCE_DIR}/system NANA_SYSTEM_SOURCE)
|
||||
aux_source_directory(${NANA_SOURCE_DIR}/threads NANA_THREADS_SOURCE)
|
||||
|
||||
#To<EFBFBD>show<EFBFBD>.h<EFBFBD>files<EFBFBD>in<EFBFBD>Visual<EFBFBD>Studio,<EFBFBD>add<EFBFBD>them<EFBFBD>to<EFBFBD>the<EFBFBD>list<EFBFBD>of<EFBFBD>sources<EFBFBD>in<EFBFBD>add_executable<EFBFBD>/<2F>add_library
|
||||
#and Use<EFBFBD>SOURCE_GROUP<EFBFBD>if<EFBFBD>all<EFBFBD>your<EFBFBD>sources<EFBFBD>are<EFBFBD>in<EFBFBD>the<EFBFBD>same<EFBFBD>directory
|
||||
#To show .h files in Visual Studio, add them to the list of sources in add_executable / add_library
|
||||
#and Use SOURCE_GROUP if all your sources are in the same directory
|
||||
|
||||
add_library(${PROJECT_NAME} ${NANA_SOURCE}
|
||||
${NANA_DETAIL_SOURCE}
|
||||
@@ -163,8 +163,8 @@ endif (NOT APPLE)
|
||||
${NANA_THREADS_SOURCE})
|
||||
|
||||
if(APPLE)
|
||||
#Headers:<EFBFBD>use<EFBFBD>INCLUDE_DIRECTORIES
|
||||
# Libraries:<EFBFBD>use<EFBFBD>FIND_LIBRARY<EFBFBD>and<EFBFBD>link<EFBFBD>with<EFBFBD>the<EFBFBD>result<EFBFBD>of<EFBFBD>it<EFBFBD>(try<EFBFBD>to<EFBFBD>avoid<EFBFBD>LINK_DIRECTORIES
|
||||
#Headers: use INCLUDE_DIRECTORIES
|
||||
# Libraries: use FIND_LIBRARY and link with the result of it (try to avoid LINK_DIRECTORIES
|
||||
target_link_libraries(${PROJECT_NAME} -L/opt/X11/lib/ -lX11 -lXft -lpng -liconv)
|
||||
|
||||
endif(APPLE)
|
||||
|
||||
Reference in New Issue
Block a user