Ignore:
Timestamp:
Jul 23, 2014, 3:24:08 PM (5 years ago)
Author:
linmengl
Message:

document a little bit, seperate xmlwf and xmlwf_perf, since they use different compiler flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib_ir/CMakeLists.txt

    r3924 r3925  
    22project (IR_Library)
    33
    4 set(CXX_SSE_FLAGS "-msse2")
    5 set(CMAKE_CXX_FLAGS "${CXX_SSE_FLAGS} -O3 -std=c++11 -DBUFFER_PROFILING -DPERF_SCRIPT")
     4set(CXX_SSE_FLAGS "-msse2 -march=pentium4")
     5set(CMAKE_CXX_FLAGS "${CXX_SSE_FLAGS} -std=c++11 ")
    66
    77set(LLVM_OPT "opt-svn")
     
    1515include_directories("xmlwf/util" "xmlwf/lib")
    1616add_executable(xmlwf xmlwf/src/xmlwf.cpp s2p_optimized.o)
     17
     18add_executable(xmlwf_perf xmlwf/src/xmlwf.cpp s2p_optimized.o)
     19set_target_properties(xmlwf_perf
     20  PROPERTIES
     21  COMPILE_FLAGS "-DBUFFER_PROFILING -DPERF_SCRIPT"
     22  )
    1723
    1824# compile s2p.ll, and make sure test_s2p depends on it.
     
    4349add_custom_target (perf_xmlwf
    4450  COMMAND python ${PROJECT_SOURCE_DIR}/xmlwf/perf_script.py
    45   DEPENDS xmlwf)
     51  DEPENDS xmlwf_perf)
Note: See TracChangeset for help on using the changeset viewer.