Added: CMake file for bin2c
This commit is contained in:
parent
d103415052
commit
1d492138fb
3 changed files with 10 additions and 0 deletions
|
@ -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)
|
||||
|
|
1
code/tool/CMakeLists.txt
Normal file
1
code/tool/CMakeLists.txt
Normal file
|
@ -0,0 +1 @@
|
|||
ADD_SUBDIRECTORY(bin2c)
|
8
code/tool/bin2c/CMakeLists.txt
Normal file
8
code/tool/bin2c/CMakeLists.txt
Normal file
|
@ -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)
|
Loading…
Reference in a new issue