~daggerstab/stellarium/oculars-gui-improvement

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

  • Committer: Bogdan Marinov
  • Date: 2011-11-10 23:39:52 UTC
  • mfrom: (4948.1.52 stellarium)
  • Revision ID: bogdan.marinov84@gmail.com-20111110233952-d44bk1q756mybt1k
merged in trunk at revision 5000

Show diffs side-by-side

added added

removed removed

Lines of Context:
710
710
TARGET_LINK_LIBRARIES(testStelVertexArray ${extLinkerOptionTest})
711
711
ADD_DEPENDENCIES(buildTests testStelVertexArray)
712
712
 
713
 
SET(tests_testRefractionExtinction_SRCS
714
 
  tests/testRefractionExtinction.hpp
715
 
  tests/testRefractionExtinction.cpp
716
 
  core/RefractionExtinction.hpp
717
 
  core/RefractionExtinction.cpp)
718
 
QT4_WRAP_CPP(tests_testRefractionExtinction_MOC_SRCS tests/testRefractionExtinction.hpp)
719
 
ADD_EXECUTABLE(testRefractionExtinction EXCLUDE_FROM_ALL ${tests_testRefractionExtinction_SRCS} ${tests_testRefractionExtinction_MOC_SRCS})
720
 
TARGET_LINK_LIBRARIES(testRefractionExtinction ${extLinkerOptionTest})
721
 
ADD_DEPENDENCIES(buildTests testRefractionExtinction)
 
713
#
 
714
# Temporary disable RefractionExtinction test because now we have two classes:  Refraction and Extinction
 
715
#
 
716
#SET(tests_testRefractionExtinction_SRCS
 
717
#  tests/testRefractionExtinction.hpp
 
718
#  tests/testRefractionExtinction.cpp
 
719
#  core/RefractionExtinction.hpp
 
720
#  core/RefractionExtinction.cpp)
 
721
#QT4_WRAP_CPP(tests_testRefractionExtinction_MOC_SRCS tests/testRefractionExtinction.hpp)
 
722
#ADD_EXECUTABLE(testRefractionExtinction EXCLUDE_FROM_ALL ${tests_testRefractionExtinction_SRCS} ${tests_testRefractionExtinction_MOC_SRCS})
 
723
#TARGET_LINK_LIBRARIES(testRefractionExtinction ${extLinkerOptionTest})
 
724
#ADD_DEPENDENCIES(buildTests testRefractionExtinction)
722
725
 
723
726
ADD_CUSTOM_TARGET(tests COMMENT "Run the Stellarium unit tests")
724
727
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testDates WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
727
730
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelSphericalIndex WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
728
731
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelJsonParser WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
729
732
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelVertexArray WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
730
 
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testRefractionExtinction WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
 
733
# ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testRefractionExtinction WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
731
734
ADD_DEPENDENCIES(tests buildTests)