diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 59fbb3916..aeac7277d 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -258,6 +258,7 @@ MACRO(NL_SETUP_DEFAULT_OPTIONS) OPTION(WITH_NELNS "Build NeL Network Services." OFF) OPTION(WITH_RYZOM "Build Ryzom Core." ON ) OPTION(WITH_SNOWBALLS "Build Snowballs." OFF) + OPTION(WITH_TOOLS "Build Tools" OFF) ENDMACRO(NL_SETUP_DEFAULT_OPTIONS) MACRO(NL_SETUP_NEL_DEFAULT_OPTIONS) diff --git a/code/tool/CMakeLists.txt b/code/tool/CMakeLists.txt new file mode 100644 index 000000000..5198e56c9 --- /dev/null +++ b/code/tool/CMakeLists.txt @@ -0,0 +1 @@ +ADD_SUBDIRECTORY(bin2c) diff --git a/code/tool/bin2c/CMakeLists.txt b/code/tool/bin2c/CMakeLists.txt new file mode 100644 index 000000000..adf2787d8 --- /dev/null +++ b/code/tool/bin2c/CMakeLists.txt @@ -0,0 +1,8 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(bin2c ${SRC}) + +NL_DEFAULT_PROPS(bin2c "Tools: bin2c") +NL_ADD_RUNTIME_FLAGS(bin2c) + +INSTALL(TARGETS bin2c RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools)