IF(WIN32)
-
# Build tree
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/xcopy.exe
${EXECUTABLE_OUTPUT_PATH}/Debug/creaNewProject.bat
@ONLY IMMEDIATE
)
+
+# CONFIGURE_FILE(
+# ${CMAKE_CURRENT_SOURCE_DIR}/NewProject/lib/template_lib/creaSystem.h.in
+# ${EXECUTABLE_OUTPUT_PATH}/lib/template_lib/${PROJECT_NAME}System.h
+# @ONLY IMMEDIATE
+# )
+
CREA_MKDIR(${EXECUTABLE_OUTPUT_PATH}/Debug/creaNewProject_data)
CREA_CPDIR(${INPUT_PROJECT_DIR} ${EXECUTABLE_OUTPUT_PATH}/Debug/creaNewProject_data )
${EXECUTABLE_OUTPUT_PATH}/creaNewProject.sh
@ONLY IMMEDIATE
)
+
+ # CONFIGURE_FILE(
+ # ${CMAKE_CURRENT_SOURCE_DIR}/NewProject/lib/template_lib/creaSystem.h.in
+ #${EXECUTABLE_OUTPUT_PATH}/NewProject/lib/template_lib/${PROJECT_NAME}System.h
+ # ${CMAKE_CURRENT_SOURCE_DIR}/NewProject/lib/template_lib/${PROJECT_NAME}System.h
+ # @ONLY IMMEDIATE
+ # )
+
CREA_MKDIR(${EXECUTABLE_OUTPUT_PATH}/creaNewProject_data)
CREA_CPDIR(${INPUT_PROJECT_DIR} ${EXECUTABLE_OUTPUT_PATH}/creaNewProject_data )
#==================================
# Subdirs
-SUBDIRS(appli)
SUBDIRS(lib)
+SUBDIRS(appli)
+
#==================================
--- /dev/null
+
+#ifndef _$PROJECT_NAME$SYSTEM_H_
+#define _$PROJECT_NAME$SYSTEM_H_
+
+
+// Windoze related troubles (as usual)
+
+//-----------------------------------------------------------------------------
+
+#if defined(_WIN32)
+ #ifdef $PROJECT_NAME$_EXPORT_SYMBOLS
+ #define $PROJECT_NAME$_EXPORT __declspec( dllexport )
+#else
+ #define $PROJECT_NAME$_EXPORT __declspec( dllimport )
+ #endif
+ #define $PROJECT_NAME$_CDECL __cdecl
+#else
+ #define $PROJECT_NAME$_EXPORT
+ #define $PROJECT_NAME$_CDECL
+#endif // defined(_WIN32)
+
+#ifdef __BORLANDC__
+ #include <mem.h>
+#endif
+
+#endif
--- /dev/null
+
+#ifndef _$PROJECT_NAME$SYSTEM_H_
+#define _$PROJECT_NAME$SYSTEM_H_
+
+
+// Windoze related troubles (as usual)
+
+//-----------------------------------------------------------------------------
+
+#if defined(_WIN32)
+ #ifdef $PROJECT_NAME$_EXPORT_SYMBOLS
+ #define $PROJECT_NAME$_EXPORT __declspec( dllexport )
+#else
+ #define $PROJECT_NAME$_EXPORT __declspec( dllimport )
+ #endif
+ #define $PROJECT_NAME$_CDECL __cdecl
+#else
+ #define $PROJECT_NAME$_EXPORT
+ #define $PROJECT_NAME$_CDECL
+#endif // defined(_WIN32)
+
+#ifdef __BORLANDC__
+ #include <mem.h>
+#endif
+
+#endif
boost_filesystem
boost_date_time
boost_program_options
+ boost_regex
)
ELSE(NOT APPLE)
SET(BOOST_LIBRARIES
boost_date_time-mt
boost_system-mt
boost_program_options-mt
+ boost_regex-mt
)
ENDIF(NOT APPLE)
ENDIF(NOT WIN32)