summarylogtreecommitdiffstats
path: root/030-xeve-app-dynyamic-linking.patch
blob: 9b700a577061ca3575a7f433d470e8793ff52325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -11,10 +11,10 @@ if(("${SET_PROF}" STREQUAL "MAIN"))
     include_directories( ${EXE_NAME} PUBLIC . .. ../inc ../src_base ../src_main ${BASE_SRC_PATH})
 
     # Comment the following line for dynamic linking
-    target_link_libraries (${EXE_NAME} xeve)
+    # target_link_libraries (${EXE_NAME} xeve)
 
     # Uncomment the following line for dynamic linking
-    # target_link_libraries (${EXE_NAME} xeve_dynamic)
+    target_link_libraries (${EXE_NAME} xeve_dynamic)
 
     set_property(TARGET ${EXE_NAME} PROPERTY FOLDER "app")
     set_target_properties(${EXE_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)