Added libtest and fixed library. QT application not yet used.
This commit is contained in:
@@ -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} )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user