Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2008, 4:08:35 PM (16 years ago)
Author:
adrfried
Message:

FindCEGUI.cmake and others cleaned up

Location:
code/branches/buildsystem/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/src/util/CMakeLists.txt

    r1844 r2197  
    1313
    1414ADD_LIBRARY(util SHARED ${UTIL_SRC_FILES})
     15TARGET_LINK_LIBRARIES(util ${OGRE_LIBRARIES})
    1516
    16 IF(TESTING_ENABLED)
    17   ADD_SUBDIRECTORY(testing)
    18 ENDIF(TESTING_ENABLED)
    19 
    20 TARGET_LINK_LIBRARIES(util
    21   ${OGRE_LIBRARIES}
    22 )
     17ADD_SUBDIRECTORY(testing)
  • code/branches/buildsystem/src/util/testing/CMakeLists.txt

    r1505 r2197  
    1 INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES}
    2         ../
    3 )
     1INCLUDE_DIRECTORIES(..)
    42
    5 ADD_EXECUTABLE(TestConverter
    6  TestConverter.cpp
    7 )
     3IF(ENABLE_TESTS)
     4  ADD_EXECUTABLE(TestConverter TestConverter.cpp)
     5ENDIF(ENABLE_TESTS)
    86
    9 
    10 ADD_TEST(TestConverter
    11         ${EXECUTABLE_OUTPUT_PATH}/TestConverter
    12 )
     7ADD_TEST(TestConverter ${EXECUTABLE_OUTPUT_PATH}/TestConverter)
Note: See TracChangeset for help on using the changeset viewer.