CMakeLists.txt
branchtrunk
changeset 406 682e9073a9cf
parent 390 4effa7e6b49c
child 415 25ca83d8bbd5
equal deleted inserted replaced
405:e2cffb40e8b8 406:682e9073a9cf
    17 IF(SDL_FOUND)
    17 IF(SDL_FOUND)
    18     INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR})
    18     INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR})
    19     ADD_DEFINITIONS(-DFINDERRORS_COMPILE_SHADERS=1)
    19     ADD_DEFINITIONS(-DFINDERRORS_COMPILE_SHADERS=1)
    20     ADD_EXECUTABLE(glcaps glcaps.c)
    20     ADD_EXECUTABLE(glcaps glcaps.c)
    21     TARGET_LINK_LIBRARIES(glcaps ${SDL_LIBRARY})
    21     TARGET_LINK_LIBRARIES(glcaps ${SDL_LIBRARY})
       
    22     ADD_EXECUTABLE(bestprofile bestprofile.c mojoshader.c mojoshader_opengl.c)
       
    23     TARGET_LINK_LIBRARIES(bestprofile ${SDL_LIBRARY})
    22 ENDIF(SDL_FOUND)
    24 ENDIF(SDL_FOUND)
    23 
    25 
    24 ADD_EXECUTABLE(testparse testparse.c mojoshader.c)
    26 ADD_EXECUTABLE(testparse testparse.c mojoshader.c)
    25 ADD_EXECUTABLE(testoutput testoutput.c mojoshader.c)
    27 ADD_EXECUTABLE(testoutput testoutput.c mojoshader.c)
    26 ADD_EXECUTABLE(finderrors finderrors.c mojoshader.c mojoshader_opengl.c)
    28 ADD_EXECUTABLE(finderrors finderrors.c mojoshader.c mojoshader_opengl.c)