Added stub project for Kraken convert utility
This commit is contained in:
@@ -159,3 +159,4 @@ IF(CMAKE_BUILD_TYPE MATCHES DEBUG)
|
|||||||
ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)
|
ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)
|
||||||
|
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
add_subdirectory(tools)
|
||||||
|
|||||||
1
tools/CMakeLists.txt
Normal file
1
tools/CMakeLists.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
add_subdirectory(convert)
|
||||||
17
tools/convert/CMakeLists.txt
Normal file
17
tools/convert/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
cmake_minimum_required (VERSION 3.14)
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
|
add_executable(kraken_convert main.cpp)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
add_compile_definitions(UNICODE)
|
||||||
|
else(WIN32)
|
||||||
|
set(CMAKE_CXX_COMPILER "clang++")
|
||||||
|
endif(WIN32)
|
||||||
|
|
||||||
|
target_include_directories(kraken_convert PRIVATE ${CMAKE_SOURCE_DIR}/hydra/include ${CMAKE_SOURCE_DIR}/kraken/public)
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES( kraken_convert kraken ${EXTRA_LIBS} )
|
||||||
|
|
||||||
9
tools/convert/main.cpp
Normal file
9
tools/convert/main.cpp
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#include "main.h"
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main( int argc, char *argv[] )
|
||||||
|
{
|
||||||
|
printf("Kraken Convert\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
0
tools/convert/main.h
Normal file
0
tools/convert/main.h
Normal file
Reference in New Issue
Block a user