Commit 753e5330 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Renaming MSVS folder to VA/Bindings

parent 8f350a51
......@@ -12,6 +12,18 @@ vista_use_package( VABase REQUIRED FIND_DEPENDENCIES )
vista_use_package( Lua REQUIRED )
if( NOT DEFINED ITA_VA_BUILD_STATIC )
set( ITA_VA_BUILD_STATIC OFF CACHE BOOL "Build static VA libs" )
endif( NOT DEFINED ITA_VA_BUILD_STATIC )
if( NOT DEFINED ITA_VISTA_BUILD_STATIC )
set( ITA_VISTA_BUILD_STATIC OFF CACHE BOOL "Build against static ViSTA libraries" )
endif( NOT DEFINED ITA_VISTA_BUILD_STATIC )
if( NOT DEFINED ITA_VALUA_INSTALL_WITH_DLLS )
set( ITA_VALUA_INSTALL_WITH_DLLS ON CACHE BOOL "Install VALua with depending DLLs (use this switch with care)" )
endif( NOT DEFINED ITA_VALUA_INSTALL_WITH_DLLS )
# includes
include_directories( "include" )
......@@ -21,8 +33,16 @@ include( "include/_SourceFiles.cmake" )
include( "src/_SourceFiles.cmake" )
# compiler
add_definitions( -DITA_BASE_DLL -_DVA_BASE_DLL -DVA_NET_DLL )
if( NOT ITA_VA_BUILD_STATIC )
add_definitions( -DVANET_EXPORTS )
else( NOT ITA_VA_BUILD_STATIC )
add_definitions( -DVABASE_STATIC -DVACORE_STATIC -DVANET_STATIC )
set( BUILD_SHARED_LIBS_TEMP ${BUILD_SHARED_LIBS} )
if( BUILD_SHARED_LIBS )
set( BUILD_SHARED_LIBS OFF )
message( "Ignoring activated BUILD_SHARED_LIBS temporary because static VA requested" )
endif( BUILD_SHARED_LIBS )
endif( NOT ITA_VA_BUILD_STATIC )
# linker
......@@ -37,4 +57,8 @@ set( VALUA_INCLUDE_OUTDIR "${CMAKE_CURRENT_SOURCE_DIR}/include" )
vista_create_cmake_configs( VALua )
vista_create_default_info_file( VALua )
set_property( TARGET VALua PROPERTY FOLDER "VA" )
set_property( TARGET VALua PROPERTY FOLDER "VA/Bindings" )
if( ITA_VALUA_INSTALL_WITH_DLLS OR ITA_VA_INSTALL_WITH_DLLS )
vista_install_all_dlls( bin )
endif()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment