]> Creatis software - bbtk.git/blobdiff - kernel/bin/CMakeLists.txt
*** empty log message ***
[bbtk.git] / kernel / bin / CMakeLists.txt
diff --git a/kernel/bin/CMakeLists.txt b/kernel/bin/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6811502
--- /dev/null
@@ -0,0 +1,37 @@
+
+
+IF(WIN32)
+       FILE(GLOB DOT_EMBEDDED "dot_embedded/*.*" )
+       
+       FOREACH(file ${DOT_EMBEDDED})
+         GET_FILENAME_COMPONENT(filename "${file}" NAME) 
+         CONFIGURE_FILE(
+               ${file}
+               ${PROJECT_BINARY_DIR}/Debug/dot_embedded/${filename}
+               COPYONLY
+               )
+       ENDFOREACH(file ${DOT_EMBEDDED})        
+       
+       FOREACH(file ${DOT_EMBEDDED})
+         GET_FILENAME_COMPONENT(filename "${file}" NAME) 
+         CONFIGURE_FILE(
+               ${file}
+               ${PROJECT_BINARY_DIR}/Release/dot_embedded/${filename}
+               COPYONLY
+               )
+       ENDFOREACH(file ${DOT_EMBEDDED})
+       
+       FOREACH(file ${DOT_EMBEDDED})
+         GET_FILENAME_COMPONENT(filename "${file}" NAME) 
+         CONFIGURE_FILE(
+               ${file}
+               ${PROJECT_BINARY_DIR}/RelWithDebInfo/dot_embedded/${filename}
+               COPYONLY
+               )
+       ENDFOREACH(file ${DOT_EMBEDDED})
+       
+       INSTALL(
+               FILES ${DOT_EMBEDDED}
+               DESTINATION bin/dot_embedded
+       )
+ENDIF(WIN32)