mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-15 14:51:21 +00:00
Added ANIM parsing code. Lots of printf()s for now, to be rewritten later.
This commit is contained in:
parent
f9b59088a1
commit
74169b403b
1 changed files with 32 additions and 0 deletions
|
@ -0,0 +1,32 @@
|
|||
cmake_minimum_required(VERSION 2.6)
|
||||
project(libvitaboy)
|
||||
|
||||
set(LIBVITABOY_SERIES 0)
|
||||
set(LIBVITABOY_MAJOR 0)
|
||||
set(LIBVITABOY_MINOR 1)
|
||||
|
||||
set(LIBVITABOY_SOURCES
|
||||
anim.cpp
|
||||
libvitaboy.cpp
|
||||
)
|
||||
if(WIN32)
|
||||
set(LIBVITABOY_SOURCES ${LIBVITABOY_SOURCES} resource.rc)
|
||||
endif()
|
||||
|
||||
add_library(libvitaboy_static STATIC ${LIBVITABOY_SOURCES})
|
||||
set_target_properties(libvitaboy_static PROPERTIES
|
||||
OUTPUT_NAME "vitaboy"
|
||||
CLEAN_DIRECT_OUTPUT 1)
|
||||
|
||||
add_library(libvitaboy_shared SHARED ${LIBVITABOY_SOURCES})
|
||||
set_target_properties(libvitaboy_shared PROPERTIES
|
||||
OUTPUT_NAME "vitaboy${LIBVITABOY_SERIES}"
|
||||
VERSION ${LIBVITABOY_SERIES}.${LIBVITABOY_MAJOR}.${LIBVITABOY_MINOR}
|
||||
SOVERSION ${LIBVITABOY_SERIES}
|
||||
# msvc does not prepend 'lib' - do it here to have consistent name
|
||||
PREFIX "lib"
|
||||
IMPORT_PREFIX "lib"
|
||||
CLEAN_DIRECT_OUTPUT 1)
|
||||
|
||||
add_executable(vbparse vbparse.cpp)
|
||||
target_link_libraries(vbparse libvitaboy_static)
|
Loading…
Add table
Reference in a new issue