We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bebbd77 commit b66a991Copy full SHA for b66a991
2 files changed
.gitignore
@@ -8,7 +8,6 @@ cmake_install.cmake
8
example/.idea/
9
example/CMakeCache.txt
10
example/CMakeFiles/
11
-example/CMakeLists.txt
12
example/Makefile
13
example/Testing/
14
example/cmake_install.cmake
example/CMakeLists.txt
@@ -0,0 +1,28 @@
1
+cmake_minimum_required(VERSION 3.6)
2
+
3
+set( CMAKE_CXX_FLAGS "-std=gnu++11 ")
4
5
+add_definitions(-DEZY_DEBUG)
6
7
+set(APP_NAME example)
+project(${APP_NAME})
+add_subdirectory(../ ../)
+# add cross-platforms source files and header files
+list(APPEND APP_SOURCE
15
+ main.cpp
16
+ )
17
+list(APPEND APP_HEADER
18
19
20
+# mark app complie info and libs info
21
+set(all_code_files
22
+ ${APP_HEADER}
23
+ ${APP_SOURCE}
24
25
26
+add_executable(${APP_NAME} main.cpp)
27
28
+target_link_libraries(${APP_NAME} ezyfox-client)
0 commit comments