Changeset 301 in pacpusframework for trunk/CMakeLists.txt


Ignore:
Timestamp:
04/08/14 10:03:01 (10 years ago)
Author:
Marek Kurdej
Message:

Some Unix fixes

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11build
         2CMakeLists.txt.user*
  • trunk/CMakeLists.txt

    r250 r301  
    3333set(PACPUS_SCRIPTS_DIR      ${PACPUS_ROOT_DIR}/scripts)
    3434set(PACPUS_SOURCE_DIR       ${PACPUS_ROOT_DIR}/src)
     35set(PACPUS_TEST_DIR       ${PACPUS_ROOT_DIR}/test)
    3536set(IS_BUILDING_PACPUS      TRUE)
    3637
    3738set(PACPUS_DEFINITIONS "")
     39
     40################################################################################
     41set(PACPUS_BUILD_TESTS TRUE CACHE BOOL "Whether build the tests")
    3842
    3943################################################################################
     
    9397
    9498################################################################################
     99# TESTS
     100if(${PACPUS_BUILD_TESTS})
     101    enable_testing()
     102    #add_subdirectory(${PACPUS_TEST_DIR})
     103endif()
     104
     105################################################################################
    95106# SUMMARY
    96107pacpus_info("")
Note: See TracChangeset for help on using the changeset viewer.