root/lang/cplusplus/i3/am/mol_test_debug.am @ 16655

Revision 16655, 1.9 kB (checked in by saturday06, 5 years ago)

pch

  • Property svn:executable set to *
Line 
1# ---------------------------------------
2# Common
3
4bin_PROGRAMS      += mol_test_debug
5mol_test_debug_exe : mol_test_debug$(EXEEXT) # for IDE
6
7mol_test_debug_CXXFLAGS_DEFAULT = -Igch/mol_test_debug \
8                                  $(PTHREAD_CFLAGS) $(BOOST_CPPFLAGS) \
9                                  -I${top_srcdir}/src/mol/include \
10                                  -Winvalid-pch \
11                                  -fno-operator-names -Wall -g -pg \
12                                  -fprofile-arcs -ftest-coverage
13
14#
15# Precompiled Headers
16#
17
18#CLEANFILES    += gch/mol_test_debug/mol/PrecompiledHeaders.h.gch
19gch_files     += gch/mol_test_debug/mol/PrecompiledHeaders.h.gch
20gch/mol_test_debug/mol/PrecompiledHeaders.h.gch: \
21            ${top_srcdir}/src/mol/include/mol/PrecompiledHeaders.h \
22            ${top_srcdir}/src/mol/include/mol/os-windows/PrecompiledHeaders.h \
23            ${top_srcdir}/src/mol/include/mol/os-posix/PrecompiledHeaders.h \
24            ${top_srcdir}/src/mol/include/mol/gui-windows/PrecompiledHeaders.h \
25            ${top_srcdir}/src/mol/include/mol/gui-qt/PrecompiledHeaders.h
26
27        $(MKDIR_P) gch/mol_test_debug/mol
28        $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
29        $(AM_CPPFLAGS) $(CPPFLAGS) $(mol_test_debug_CXXFLAGS) \
30        $(CXXFLAGS) ${top_srcdir}/src/mol/include/mol/PrecompiledHeaders.h \
31        -o gch/mol_test_debug/mol/PrecompiledHeaders.h.gch
32
33
34if WITH_GUI_WINDOWS
35# ---------------------------------------
36# Windows
37
38mol_test_debug_SOURCES  = $(mol_test_SOURCES)
39mol_test_debug_CXXFLAGS = $(mol_test_debug_CXXFLAGS_DEFAULT)
40mol_test_debug_LDADD    = $(mol_test_LDADD)
41
42
43else
44# ---------------------------------------
45# Posix
46mol_test_debug_SOURCES  = $(mol_test_SOURCES)
47mol_test_debug_CXXFLAGS = $(mol_test_debug_CXXFLAGS_DEFAULT)
48mol_test_debug_LDADD    = $(mol_test_LDADD)
49
50
51endif
Note: See TracBrowser for help on using the browser.