Added libtest and fixed library. QT application not yet used.

This commit is contained in:
2007-02-23 17:55:47 +00:00
parent 9779856e07
commit eef0ecc952
5 changed files with 72 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
project(aigo)
project(aigolib)
set(AIGO_SRCS
camera.cpp
@@ -21,9 +21,9 @@ include_directories( ${OPENGL_INCLUDE_DIR} )
#find_package(GLEW REQUIRED)
#compile the aigo library
add_library(aigo ${AIGO_SRCS})
add_library(aigolib ${AIGO_SRCS})
#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
# c99 flag not used now, not supported by visual studio
target_link_libraries(aigo ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY} ${OPENGL_LIBRARIES} )
target_link_libraries(aigolib ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY} ${OPENGL_LIBRARIES} )